ImportError: libboost_python-py26.so.1.40.0: cannot open shared object file: No such file or directory

Asked by Viswanathan R

I have to use ubuntu 11.04, in that i have developed the python code for display the videos. while run my python code it throws the below error.

Traceback (most recent call last):
 File "display.py", line 3, in <module>
   from libavg import avg, anim,button
 File "/usr/local/lib/python2.7/dist-packages/libavg/_init_.py", line 1, in <module>
   from avg import *
ImportError: libboost_python-py26.so.1.40.0: cannot open shared object file: No such file or directory
 Sent at 2:19 PM on Thursday

What to do to resolve this problem...

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu python-defaults Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jeet (gour-jitendrasingh) said :
#1

to set LD_LIBRARY_PATH, use one of the following, ideally in your ~/.bashrc or equivalent file:

export LD_LIBRARY_PATH=/usr/local/lib

or

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH

Use the first form if it's empty (equivalent to the empty string, or not present at all), and the second form if it isn't. Note the use of export.

Revision history for this message
Viswanathan R (rvisu87) said :
#2

Dude,i am sorry to ask this, i really unable to understand what you are saying why because i am new in this. please tell where will include this line export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH. Thanks to reply immediately.

Revision history for this message
Jeet (gour-jitendrasingh) said :
#3
Revision history for this message
Viswanathan R (rvisu87) said :
#4

Thanks dude

Can you help with this problem?

Provide an answer of your own, or ask Viswanathan R for more information if necessary.

To post a message you must log in.