aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: requiring X library for console client?  (Read 6852 times)

juanii

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
requiring X library for console client?
« 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!
« Last Edit: May 03, 2005, 06:26:45 AM by juanii »
Logged
juanii

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: requiring X library for console client?
« Reply #1 on: May 03, 2005, 06:36:41 AM »

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
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: requiring X library for console client?
« Reply #2 on: May 03, 2005, 06:41:19 AM »

Code: [Select]
$ 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.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: requiring X library for console client?
« Reply #3 on: May 03, 2005, 06:47:25 AM »

maybe he as wxGTK...via rpms...
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: requiring X library for console client?
« Reply #4 on: May 03, 2005, 06:50:02 AM »

But his daemon does run, so it's obviously using wxBase.
Logged

juanii

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: requiring X library for console client?
« Reply #5 on: May 03, 2005, 06:51:32 AM »

Quote
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 :(

Quote
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.
Logged
juanii

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: requiring X library for console client?
« Reply #6 on: May 03, 2005, 06:52:12 AM »

Can you ldd your amuleweb?
Logged

juanii

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: requiring X library for console client?
« Reply #7 on: May 03, 2005, 06:55:31 AM »

Quote
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
Logged
juanii

juanii

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: requiring X library for console client?
« Reply #8 on: May 03, 2005, 06:57:42 AM »

Code: [Select]
$ 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)
Code: [Select]
$ 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)
Logged
juanii

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: requiring X library for console client?
« Reply #9 on: May 03, 2005, 06:59:32 AM »

Why do you have libpng twice? ldd both, please.

Code: [Select]
$ 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)
Logged

juanii

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: requiring X library for console client?
« Reply #10 on: May 03, 2005, 07:04:02 AM »

Quote
Why do you have libpng twice? ldd both, please.
i have really no idea  :P

Code: [Select]
$ 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)
Code: [Select]
$ 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)
Logged
juanii

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: requiring X library for console client?
« Reply #11 on: May 03, 2005, 07:08:23 AM »

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 ;)
Logged

juanii

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: requiring X library for console client?
« Reply #12 on: May 03, 2005, 07:11:06 AM »

Quote
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
Logged
juanii

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: requiring X library for console client?
« Reply #13 on: May 03, 2005, 08:11:59 AM »

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
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

juanii

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 15
Re: requiring X library for console client?
« Reply #14 on: May 03, 2005, 04:51:40 PM »

Quote
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...
Logged
juanii
Pages: [1] 2