aMule Forum
English => aMule Help => Topic started by: juanii on May 03, 2005, 06:26:02 AM
-
not sure if this one belongs to this section, sorry if it doesn't.
just compiled amule configured with options --disable-monolithic --enable-amulecmd --enable-amule-daemon --enable-webserver --disable-systray --disable-gtktest --disable-webservergui --disable-debug
everything goes ok until i run amuled, then i get the following error:
General: CamuleDaemonApp::OnRun()
amuleweb: error while loading shared libraries: libXi.so.6: cannot open shared object file: No such file or directory
which is strange since i didn't compile amule with any gui support. obviously i have not libXi installed, and the daemon listens only to the EC port, not the web port. am i missing something?
thanks in advance!
-
the daemon does not have the webserver included, that is why you should start amuleweb ;)
funny is that you seam to need this lib for amuleweb...do you have wxGTK or wxBase? and which version?
stefanero
-
$ ldd src/amuleweb
libpthread.so.0 => /lib/libpthread.so.0 (0x00002aaaaabc1000)
libwx_baseud-2.6.so.0 => /home/kry/aMule/wx-cvs/lib/libwx_baseud-2.6.so.0 (0x00002aaaaacd6000)
libwx_baseud_net-2.6.so.0 => /home/kry/aMule/wx-cvs/lib/libwx_baseud_net-2.6.so.0 (0x00002aaaaaf85000)
libz.so.1 => /usr/lib/libz.so.1 (0x00002aaaab0c7000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x00002aaaab1dc000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00002aaaab303000)
libm.so.6 => /lib/libm.so.6 (0x00002aaaab4f3000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaab67a000)
libc.so.6 => /lib/libc.so.6 (0x00002aaaab785000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
libdl.so.2 => /lib/libdl.so.2 (0x00002aaaab9c4000)
No libX on my side.
-
maybe he as wxGTK...via rpms...
-
But his daemon does run, so it's obviously using wxBase.
-
the daemon does not have the webserver included, that is why you should start amuleweb ;)
yup, i know, but since the daemon ain't expecting for an amuleweb connection (on Port defined in amule.conf) i can't run amuleweb :(
funny is that you seam to need this lib for amuleweb...do you have wxGTK or wxBase? and which version?
fresh wxBase 2.6.0 install, wxGTK is not installed.
-
Can you ldd your amuleweb?
-
No libX on my side.
note i didn't talk about running amuleweb, the error pops when running amuled. anyway, ldd didn't show any dependency for libXi on amuled ?( i'm confused
-
$ ldd aMule-2.0.0/src/amuleweb
libpthread.so.0 => /lib/libpthread.so.0 (0x4001a000)
libwx_base-2.6.so.0 => /usr/local/lib/libwx_base-2.6.so.0 (0x4006b000)
libwx_base_net-2.6.so.0 => /usr/local/lib/libwx_base_net-2.6.so.0 (0x401b7000)
libz.so.1 => /usr/lib/libz.so.1 (0x401e1000)
libreadline.so.4 => /lib/libreadline.so.4 (0x401f2000)
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40221000)
libm.so.6 => /lib/libm.so.6 (0x4024c000)
libpng.so.3 => /usr/lib/libpng.so.3 (0x4026f000)
libstdc++.so.5 => /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/libstdc++.so.5 (0x4029a000)
libgcc_s.so.1 => /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/libgcc_s.so.1 (0x40365000)
libc.so.6 => /lib/libc.so.6 (0x4036e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libdl.so.2 => /lib/libdl.so.2 (0x4049b000)
$ ldd aMule-2.0.0/src/amuled
libpthread.so.0 => /lib/libpthread.so.0 (0x4001a000)
libwx_base-2.6.so.0 => /usr/local/lib/libwx_base-2.6.so.0 (0x4006b000)
libwx_base_net-2.6.so.0 => /usr/local/lib/libwx_base_net-2.6.so.0 (0x401b7000)
libz.so.1 => /usr/lib/libz.so.1 (0x401e1000)
libstdc++.so.5 => /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/libstdc++.so.5 (0x401f2000)
libm.so.6 => /lib/libm.so.6 (0x402bd000)
libgcc_s.so.1 => /usr/lib/gcc-lib/i486-pc-linux-gnu/3.2.3/libgcc_s.so.1 (0x402df000)
libc.so.6 => /lib/libc.so.6 (0x402e8000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libdl.so.2 => /lib/libdl.so.2 (0x40416000)
-
Why do you have libpng twice? ldd both, please.
$ ldd /usr/lib/libpng12.so.0
libz.so.1 => /usr/lib/libz.so.1 (0x00002aaaaabe3000)
libm.so.6 => /lib/libm.so.6 (0x00002aaaaacf8000)
libc.so.6 => /lib/libc.so.6 (0x00002aaaaae7e000)
/lib64/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000555555555000)
-
Why do you have libpng twice? ldd both, please.
i have really no idea :P
$ ldd /usr/lib/libpng12.so.0
libz.so.1 => /usr/lib/libz.so.1 (0x40032000)
libm.so.6 => /lib/libm.so.6 (0x40044000)
libc.so.6 => /lib/libc.so.6 (0x40066000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
$ ldd /usr/lib/libpng.so.3
libz.so.1 => /usr/lib/libz.so.1 (0x40032000)
libm.so.6 => /lib/libm.so.6 (0x40044000)
libc.so.6 => /lib/libc.so.6 (0x40066000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
-
There is still no libX requeriment on your ld. What happens if you try to run amuleweb standalone (not within amuled)?
Note: I go to sleep now, so feel free to not expect a fast reply from now on ;)
-
Originally posted by Kry
There is still no libX requeriment on your ld. What happens if you try to run amuleweb standalone (not within amuled)?
Note: I go to sleep now, so feel free to not expect a fast reply from now on ;)
works well until the moment where it tries to connect to the daemon and times out.
thanks for all :D
y que duermas bien
-
about the timeout, did you enable external connections?
also you need passwords set for external connections, overwise connection is restricted aswell.
check:
http://www.amule.org/wiki/index.php/Webserver#Webserver_with_aMule_2.0.0_or_later_(starting_from_CVS_2005.02.27)
stefanero
-
Originally posted by stefanero
about the timeout, did you enable external connections?
also you need passwords set for external connections, overwise connection is restricted aswell.
yep.. everything is configured!
i have an idea now which i'm going to try...
-
after messing with libs here and there the error changed and now the unsatisfied lib dependency is with libwx_gtk-2.4.so ?(
guess i'll have to do a deep system check
-
maybe you have amuled/amuleweb binaries from previous relases/compilations somewhere on your path...
-
Originally posted by GonoszTopi
maybe you have amuled/amuleweb binaries from previous relases/compilations somewhere on your path...
i had some old binaries but i always run the client with ./amuled so there's no way to run something i don't want to. anyway i wiped old installations, old libraries with no success. strange thing is i was able to compile and run rc7 and rc8 without any troubles. maybe i'll go back to wxBase 2.4.2 to see what happens.
-
wxbase 2.4.2 = no-amuled
-
Originally posted by stefanero
wxbase 2.4.2 = no-amuled
yep, i found out... and 2.5.x isn't available for download anymore. seems this will get longer than i expected.
-
1st on sf.net
there are all versions of wxwidgets availible
2nd check
http://www.amule.org/wiki/index.php/Using_another_wxinstall
you can compile wx-2.6 into another dir, and then recompile a clean tar.gz from amule with --with-wx-config=/new/path/wx-config
so everythig is cealn and you can debug this
stefanero
-
The problem is: amuled runs the amuleweb that is INSTALLED on your susytem. You ahve an old amuleweb isntalled that's linked against GUI libs.
Install aMule-2.0.0 and everything should be fine on amuleweb side.
-
Originally posted by Kry
The problem is: amuled runs the amuleweb that is INSTALLED on your susytem. You ahve an old amuleweb isntalled that's linked against GUI libs.
Install aMule-2.0.0 and everything should be fine on amuleweb side.
wtf! that was it! i feel so dumb!
btw, is that a new behavior? because in previous releases i remember starting amuleweb manually, not being executed by the daemon. otherwise i would have checked on this before.
thanks for everyone who posted!!
-
This is new, but only if you have the "Enabled=1" on the [Webserver] section of amule.conf