aMule Forum
English => aMule Help => Topic started by: xellzhang on October 03, 2006, 07:45:35 AM
-
I have installed the wxWidgets 2.7.
After compiled amule 2.1.3 successfully, I type "amule" to run it. But I get:
amule: error while loading shared libraries: libwx_gtk2u-2.7.so.0: cannot open shared object file: No such file or directory
BUT the file(a link) "libwx_gtk2u-2.7.so.0" is in "/usr/local/lib".
what is the problem?
I tried wxWidgets 2.6.3, the same problem...
-
looks to seeing if in /etc/ld.so.conf has the route /usr/local/lib
# cat /etc/ld.so.conf | grep/usr/local/lib
If you have it, probably you forgot to run ldconfig after installing the wx
# ldconfig
-
I did not have the "/etc/ld.so.conf" file...
I have run ldconfig, but the problem still exists.
I am using Ubuntu 6.06
-
you must hast /etc/ld.so.conf thats a must have file on linux...even on ubuntu...
-
Just create a new ld.so.conf file with the content
/usr/local/lib
Ubuntu is shipped in fact without this file, iirc. Happened to me as well, but I don't remember whether the file was just empty or non-existant.
-
thanks. It works now!