LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Evolution can't find libs in its own subdirectories (http://www.linuxquestions.org/questions/linux-software-2/evolution-cant-find-libs-in-its-own-subdirectories-301824/)

slackist 03-15-2005 07:49 AM

Evolution can't find libs in its own subdirectories
 
Trying to install evolution I have downloaded and compiled the files listed here and compiled them all relatively painlessly (just a couple of glitches with that old chestnut PKG_CONFIG_PATH) but when I try to start evolution I get
Code:

mark@darkstar:/usr/local/bin# evolution-2.0
evolution-2.0: error while loading shared libraries: libeshell.so.0: cannot open shared object file: No such file or directory

but
Code:

root@darkstar:/usr/local/bin# slocate libeshell.so.0
/usr/local/lib/evolution/2.0/libeshell.so.0.0.0
/usr/local/lib/evolution/2.0/libeshell.so.0
/usr/local/evolution-2.0.4/shell/.libs/libeshell.so.0.0.0
/usr/local/evolution-2.0.4/shell/.libs/libeshell.so.0.0.0T
/usr/local/evolution-2.0.4/shell/.libs/libeshell.so.0

Also if I do ldd evolution-2.0 it shows a bunch of lib*.*.* => not found errors but all the libs reported as not found are present in evolution-2.0 sub-directories.

Thanks in advance for any ideas on how to get evolution to find its libs :)

Oliv' 03-16-2005 07:58 AM

Hello,

A temporary solution (i.e. you have to do that each time you want to run evolution from a new shell):
Code:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/evolution/2.0
A definitive solution: add the following line in your /etc/ld.so.conf file:
/usr/local/lib/evolution/2.0
and then run (as root) ldconfig

Oliv'

slackist 03-16-2005 09:33 AM

Thanks so much for the reply Oliv' but unfortunately it didn't work.

Same error message and I also played around with the $ sign and adding a "/" at the end.

I am totally stumped with this one :(

Oliv' 03-16-2005 09:49 AM

have you tried the solution with ld.so.conf and ldconfig???


All times are GMT -5. The time now is 06:46 PM.