aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule don't find existing file [solved]  (Read 4395 times)

Skuromis

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 29
aMule don't find existing file [solved]
« on: February 11, 2005, 03:23:03 AM »

Moin Moin!

I tried to install a second aMule with a different wxGTK then installed on system. I compiled wxGTK2.5.3  into ~/aMule/:
Code: [Select]
./configure --disable-gtk2 --with-gtk --prefix=/home/skuromis/aMule/
Follwing that, I configured amule cvs 2005 02 10 this way:
Code: [Select]
./configure --prefix=/home/skuromis/aMule/ --disable-optimize --enable-debug --with-wx-config=/home/skuromis/aMule/bin/wx-config --enable-webserver --enable-webservergui --enable-amule-daemon --enable-alc --enable-alcc&& make && make install
It did. Next step was to export the path:
Code: [Select]
export LD_LIBRARY_PATH=/home/skuromis/aMule/lib:$LD_LIBRARY_PATH
An echo $LD_LIBRARY_PATH showed me, that it was set.
I changed the directory cd ~/aMule/bin/  and run amule ./amule and this error occured:
Code: [Select]
/home/skuromis/aMule/bin/amule: error while loading shared libraries:
libwx_gtk_xrc-2.5.so.3: cannot open shared object file: No such file or
directory
First I updated slocate db and made sure that the file is there: it is in /home/skuromis/aMule/lib. Second I did ldd ~/aMule/bin/amule:
Code: [Select]
skuromis@serverli:~$ ldd ~/aMule/bin/amule
        libpthread.so.0 => /lib/libpthread.so.0 (0x4001e000)
        libwx_gtk_xrc-2.5.so.3 => /home/skuromis/aMule/lib/libwx_gtk_xrc-2.5.so.3 (0x4006f000)
        libwx_gtk_html-2.5.so.3 => /home/skuromis/aMule/lib/libwx_gtk_html-2.5.so.3 (0x400da000)
        libwx_gtk_adv-2.5.so.3 => /home/skuromis/aMule/lib/libwx_gtk_adv-2.5.so.3 (0x40163000)
        libwx_gtk_core-2.5.so.3 => /home/skuromis/aMule/lib/libwx_gtk_core-2.5.so.3 (0x401f6000)
        libwx_base_xml-2.5.so.3 => /home/skuromis/aMule/lib/libwx_base_xml-2.5.so.3 (0x40550000)
        libwx_base_net-2.5.so.3 => /home/skuromis/aMule/lib/libwx_base_net-2.5.so.3 (0x4055a000)
        libwx_base-2.5.so.3 => /home/skuromis/aMule/lib/libwx_base-2.5.so.3 (0x40586000)
        libz.so.1 => /usr/lib/libz.so.1 (0x406b3000)
        libcurl.so.3 => /usr/lib/libcurl.so.3 (0x406c5000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0x406f4000)
        libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0x40724000)
        libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7 (0x40755000)
        libdl.so.2 => /lib/libdl.so.2 (0x40854000)
        libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x40858000)
        libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x409a0000)
        libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x409d8000)
        libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x409db000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x409fc000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40a04000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40a13000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x40ada000)
        libm.so.6 => /lib/libm.so.6 (0x40b94000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40bb6000)
        libc.so.6 => /lib/libc.so.6 (0x40bbf000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libgthread-1.2.so.0 => /usr/lib/libgthread-1.2.so.0 (0x40cf2000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40cf6000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40d1b000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0x40d39000)
skuromis@serverli:~$
And third thing was bt with Gnu Debugger: no stack.
Does anybody have a clue for me?

Thx, Skuro aka FieserZwerg.
« Last Edit: February 24, 2005, 10:48:51 PM by Skuromis »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule don't find existing file [solved]
« Reply #1 on: February 11, 2005, 12:59:59 PM »

ls  /home/skuromis/aMule/lib/libwx_gtk_xrc*
Logged

Skuromis

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 29
Re: aMule don't find existing file [solved]
« Reply #2 on: February 11, 2005, 06:18:18 PM »

Moin Moin!
Thx for replying, here the output:
Code: [Select]
skuromis@serverli:~$  ls -l /home/skuromis/aMule/lib/libwx_gtk_xrc*
lrwxrwxrwx  1 skuromis skuromis     22 2005-02-10 23:44 /home/skuromis/aMule/lib/libwx_gtk_xrc-2.5.so -> libwx_gtk_xrc-2.5.so.3
lrwxrwxrwx  1 skuromis skuromis     26 2005-02-10 23:44 /home/skuromis/aMule/lib/libwx_gtk_xrc-2.5.so.3 -> libwx_gtk_xrc-2.5.so.3.0.0
-rwxr-xr-x  1 skuromis skuromis 500521 2005-02-10 23:44 /home/skuromis/aMule/lib/libwx_gtk_xrc-2.5.so.3.0.0
skuromis@serverli:~$
Ciao.
« Last Edit: February 11, 2005, 06:19:15 PM by Skuromis »
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: aMule don't find existing file [solved]
« Reply #3 on: February 11, 2005, 07:26:27 PM »

funny isn't it.


NFC.
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: aMule don't find existing file [solved]
« Reply #4 on: February 24, 2005, 10:02:36 PM »

We talked about this on IRC, I have the exact same error on Gentoo. While playing around with it I found out:

If I 'export LD_LIBRARY_PATH=/home/dude/amule/lib:$LD_LIBRARY_PATH' amule complains about not finding libwx_gtk_xrc-2.5.so.4 which is in fact there. But if I did a 'export LD_LIBRARY_PATH=/home/dude/amule/lib/:$LD_LIBRARY_PATH' (using tab to enter the path and forgot to remove the trailing /) it works just fine.
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Skuromis

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 29
Re: aMule don't find existing file [solved]
« Reply #5 on: February 24, 2005, 10:49:37 PM »

Yes, this works at my machine, too. Thx Dude.
Logged