aMule Forum

English => en_Bugs => Topic started by: aldebaran on September 13, 2005, 09:12:02 PM

Title: 13-09-05 error loading libraries
Post by: aldebaran on September 13, 2005, 09:12:02 PM
after having compiled and installed sucessfully both wxwidgets 2.6.1 and amule cvs 13-09-2005 (by providing  ./configure --enable-optimize --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-kad-compile --with-wxbase-config=path_to_wxbase-config)

starting any exec (both amule & amuled) this is the output:

src/amule: error while loading shared libraries: libwx_gtk2_xrc-2.6.so.0: cannot open shared object file: No such file or directory

The issue should concern wx libraries as also amule 2.0.3 exits with the same error.

any idea how to solve the problem?
thanks

PS: when  I compiled wx the sum at the end of ./configure process was saying it supported compatibility backwards to 2.4 version... so whY?
Title: Re: 13-09-05 error loading libraries
Post by: stefanero on September 14, 2005, 06:24:15 AM
you have compiled wxWidgets in some path which is not in the libary path of your system, I would assume since you only specified wxBase config, which was btw useless.. its in /usr/local/lib/
the wxBase is useless since its not used with wx-2.5 and higher, wxBase is included in wxGTK from there on, you only need wxBase with wxGTK-2.4
and the backwards compatibility does not hurt....

so can you add

/usr/local/lib/

to

/etc/ld.so.conf

and run

/sbin/ldconfig

and restart amule