aMule Forum

English => Compilation problems => Topic started by: leotorjeman on March 26, 2005, 10:27:24 PM

Title: 20050326 wx error after compile
Post by: leotorjeman on March 26, 2005, 10:27:24 PM
just compiled amule cvs 20050326, evrything went ok but when i rum amule i get:

Code: [Select]
leo@ubuntu:~$ amule
amule: error while loading shared libraries: libwx_gtk2u_xrc-2.5.so.4: cannot open shared object file: No such file or directory

i have wxgtk-2.5.4 that i compiled, any ideas?

thanks,
Leo Torjeman
Title: Re: 20050326 wx error after compile
Post by: stefanero on March 26, 2005, 10:39:10 PM
with what prefix did you compile wx?

is that path in
/etc/ld.so.conf
Title: Re: 20050326 wx error after compile
Post by: leotorjeman on March 26, 2005, 10:42:53 PM
wxgtk was compiles with --enable-gtk2 --enable-unicode.
after the install i runed ldconfig and the previous cvs worked ok, the only thing in /etc/ld.so.conf is:

Code: [Select]
/usr/X11R6/lib
Title: Re: 20050326 wx error after compile
Post by: toshi on March 26, 2005, 10:52:14 PM
try
Code: [Select]
ln -s /usr/local/lib/libwx* /usr/lib/Rude, but should work...
Title: Re: 20050326 wx error after compile
Post by: stefanero on March 27, 2005, 11:03:42 AM
huh?
you can simple add

/usr/local/lib/

to the ld.so.conf...so need for ruin your linux
if done so, run ldconfig
Title: Re: 20050326 wx error after compile
Post by: phoenix on March 27, 2005, 02:52:04 PM
Hey guys, no rocket science here!

leotorjeman, post the line you used to configure wxWidgets. If you do not have this line anymore, but still have the wx sources, do:
$ head /path/to/wx/sources/config.log

Otherwise, you will have to find yourself where you installed wx. If you installed wx. I know you compiled, but did you make install? :D

Did you install it in your home or as root in the system?

Ok, I gave you some questions, try to answer them and enjoy aMule! :)
Title: Re: 20050326 wx error after compile
Post by: leotorjeman on March 27, 2005, 08:22:30 PM
well i compiled wxgtk with:

./configure --enable-gtk2 --enable-unicode

then i installed with checkinstall that make an .deb package and installed it. i checked in synaptic and it's installed.

toshi solution worked, just hope it won't mess up my system.
Title: Re: 20050326 wx error after compile
Post by: stefanero on March 27, 2005, 09:41:05 PM
well I told you it would, and I told you a solution for it...
so your own fault your system is fucked...

tata
Title: Re: 20050326 wx error after compile
Post by: leotorjeman on March 27, 2005, 11:05:34 PM
Quote
Originally posted by stefanero
well I told you it would, and I told you a solution for it...
so your own fault your system is fucked...

tata

unfortunely i saw you solution after i used toshi solution, any way to reverse that?
Title: Re: 20050326 wx error after compile
Post by: skolnick on March 28, 2005, 02:03:18 AM
rm is used to delete files. Just delete the recently created links.

Regards.
Title: Re: 20050326 wx error after compile
Post by: stefanero on March 28, 2005, 10:11:17 AM
right, rm the link and then add

/usr/local/lib/

to
ld.so.conf and run ldconfig and the libs are also known to your system