aMule Forum

English => aMule Help => Topic started by: alex_07 on January 17, 2006, 11:12:50 PM

Title: probleme after update amule
Post by: alex_07 on January 17, 2006, 11:12:50 PM
Hello!!!
I have just installed the new version of amule (2.10.0) and now i can't start it. when i start amule, i've this message :
amule: error while loading shared libraries: libwx_gtk2_adv-2.6.so.0: cannot open shared object file: No such file or directory

But when i do "ldd /usr/bin/amule", i have :
libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaaabc3000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00002aaaaacd8000)
        libcrypto++5.2.so.0 => /usr/lib/libcrypto++5.2.so.0 (0x00002aaaaadef000)
        libwx_gtk2u_adv-2.6.so.0 => /usr/lib/libwx_gtk2u_adv-2.6.so.0 (0x00002aaaab4eb000)
        libwx_gtk2u_core-2.6.so.0 => /usr/lib/libwx_gtk2u_core-2.6.so.0 (0x00002aaaab6a5000)
        libwx_baseu_net-2.6.so.0 => /usr/lib/libwx_baseu_net-2.6.so.0 (0x00002aaaabb13000)
        libwx_baseu-2.6.so.0 => /usr/lib/libwx_baseu-2.6.so.0 (0x00002aaaabc43000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002aaaabe86000)
        libm.so.6 => /lib/libm.so.6 (0x00002aaaac084000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaac209000)
        libc.so.6 => /lib/libc.so.6 (0x00002aaaac316000)
        /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
        libdl.so.2 => /lib/libdl.so.2 (0x00002aaaac554000)
        libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00002aaaac657000)
        libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00002aaaaca88000)
        libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00002aaaacc1e000)
        libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00002aaaacd3d000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x00002aaaace55000)
        libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x00002aaaacf5d000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00002aaaad069000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00002aaaad192000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00002aaaad2d1000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00002aaaad412000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00002aaaad515000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00002aaaad61a000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00002aaaad7aa000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00002aaaad8ce000)
        libtiff.so.4 => /usr/lib/libtiff.so.4 (0x00002aaaad9f0000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x00002aaaadb47000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00002aaaadc4b000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x00002aaaadd54000)
        libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x00002aaaade5c000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x00002aaaadf5f000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00002aaaae070000)
        libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00002aaaae24b000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00002aaaae353000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00002aaaae4a4000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00002aaaae5e3000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0x00002aaaae6ee000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00002aaaae802000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00002aaaae991000)

the lib wx exist and go on.....
 ?( I don't know what i can do!!!

 ;( Please help me.

Thanks a lot
Title: Re: probleme after update amule
Post by: wardevil on January 17, 2006, 11:21:34 PM
Quote
I have just installed the new version of amule (2.10.0) and now i can't start it. when i start amule, i've this message :
amule: error while loading shared libraries: libwx_gtk2_adv-2.6.so.0: cannot open shared object file: No such file or directory
aMule was compiled with wx without unicode suport....

Quote
But when i do "ldd /usr/bin/amule", i have :
libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaaabc3000)
libz.so.1 => /usr/lib/libz.so.1 (0x00002aaaaacd8000)
libcrypto++5.2.so.0 => /usr/lib/libcrypto++5.2.so.0 (0x00002aaaaadef000)
libwx_gtk2u_adv-2.6.so.0 => /usr/lib/libwx_gtk2u_adv-2.6.so.0 (0x00002aaaab4eb000)
libwx_gtk2u_core-2.6.so.0 => /usr/lib/libwx_gtk2u_core-2.6.so.0 (0x00002aaaab6a5000)
libwx_baseu_net-2.6.so.0 => /usr/lib/libwx_baseu_net-2.6.so.0 (0x00002aaaabb13000)

Look closely to the file names...the ones u have installed have unicode suport (the u after gtk2) and when u run amule it looks for a non-unicode version of wx....

Hope it helps...

Cheers...
Title: in reply to alex_07
Post by: mmodem on January 18, 2006, 02:20:01 AM
For what i can see the amule you use was compiled with wx that supports unicode, thats why when you did ldd amule you got:
libwx_gtk2u_adv-2.6.so.0 => /usr/lib/libwx_gtk2u_adv-2.6.so.0 (0x00002aaaab4eb000)
 libwx_gtk2u_core-2.6.so.0 => /usr/lib/libwx_gtk2u_core-2.6.so.0 (0x00002aaaab6a5000)

and you said that you have it installed so what wardevil said isnt apliable.

Now what appears to me is that the amule you installed was compiled at least with a diferent qt3 version from the one you use, or if that isnt the case there is a library that amule needs that you have but a different release.

This is the type of problem i see with the type of errors like yours, yet im a Mandriva contrib developer so i cant give much more help regarding debian based filesystems.
Title: Re: probleme after update amule
Post by: stefanero on January 18, 2006, 07:11:26 AM
1st question is

what debian you got?

2nd

where did you get amule from?
Title: Re: probleme after update amule
Post by: alex_07 on January 18, 2006, 11:42:12 AM
hi!

I've a debian with kernel version 2.6.14.2 and i've find amule on amule.org. I've take the source file.

thanks for reply
Title: Re: probleme after update amule
Post by: stefanero on January 18, 2006, 12:40:50 PM
so you compiled amule yourself?
and where did you take wxGTK from?

and my debian question was about if you are running -> stable, testing or sid
Title: Re: probleme after update amule
Post by: Gerd78 on January 18, 2006, 12:47:24 PM
Could you run /sbin/ldconfig as root and try again? If the wx libraries are in /usr/lib and still not found, it's probably a local problem on your system because /usr/lib is always in the search path on working systems.

Btw. the amule binary that you tested with ldd and the one you are actually trying to run are not the same. It's impossible that a binary reports unicode libraries with ldd and non-unicode ones at runtime. You probably have two versions installed.

Try:
Code: [Select]
find / -name 'amule'
Title: Re: probleme after update amule
Post by: alex_07 on January 18, 2006, 02:56:18 PM
you have raison Gerd78,i've two version installed. one in /usr/local/bin and one in /usr/bin.

amule in /usr/bin start fine........

Thanks for all replys
Title: Re: probleme after update amule
Post by: stefanero on January 18, 2006, 04:16:11 PM
hum?

you have two what? wxGTK or two amule? or from both two?

could you please be more verbose on your replys? its kinda hard to read your mind...
Title: Re: probleme after update amule
Post by: alex_07 on January 19, 2006, 10:42:14 PM
Sorry but i'm french and my english is not very good......

I've two amule versions, i don't know why (i've compiled many times  ;( )

So i've one version in /usr/local/bin and one in /usr/bin.
Title: Re: probleme after update amule
Post by: lionel77 on January 19, 2006, 11:08:57 PM
*moved from Distro-Specific Packages to aMule help* :)