aMule Forum

English => en_Linux => Topic started by: bepaald on January 04, 2007, 08:21:15 PM

Title: Problem after wxgtk update
Post by: bepaald on January 04, 2007, 08:21:15 PM
Hello all,
First I should say I am quite a noob with linux, though today I think I may have lost a lot of noobness.

I decided to compile my own wxGTK-2.8.0 and amule-cvs today, and both went well (I think). But now when I try to run amule I get this:

$ ./amule
./amule: error while loading shared libraries: libwx_gtk2u_adv-2.8.so.0: cannot open shared object file: No such file or directory

I do have the file on my system though:

$ locate libwx_gtk2u_adv-2.8.so.0
/usr/local/lib/libwx_gtk2u_adv-2.8.so.0
/usr/local/lib/libwx_gtk2u_adv-2.8.so.0.0.0

So can someone help me please? Thanks!
Title: Re: Problem after wxgtk update
Post by: Gerd78 on January 04, 2007, 08:25:19 PM
2 commands are needed...

echo "/usr/local/lib" >> /etc/ld.so.conf
/sbin/ldconfig
Title: Re: Problem after wxgtk update
Post by: bepaald on January 04, 2007, 09:27:58 PM
Thanks Gerd78!

I had already done ldconfig, but not the command before that. Anyway, it worked like a charm so thanks!