aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuled start fails (missing libwx_base-2.5.so.5??) [solved]  (Read 3533 times)

nukebomb

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
amuled start fails (missing libwx_base-2.5.so.5??) [solved]
« on: April 08, 2005, 01:00:34 AM »

Hi all.
After three days of hard work, I finally finished compiling the latest CVS package.
My wish was to create a aMule Deamon plus Webserver on my Mandrake 10.1 without X!.

Everythings seems to be in place, but when I try to start amuled it says:

"amuled: error while loading shared libaries: libwx_base2.5.so.5: cannot open shared object file: No such file or directory"

I compiled the latest tarball from http://www.wxWidgets.org (2.5.5) as told in the Amule compiling HOWTO.

I also tried to make amuled work by installing libwxgtk2.5 and wxGTK2.5.

"rpm -qa | grep wx" gives libwxgtk2.5_1-2.5.1-5.3.101mdk and wxGTK2.5-2.5.1-5.3.101mdk

Any ideas?
Thx
Please keep it simple, it's my second LINUX Week.
« Last Edit: April 08, 2005, 08:20:27 AM by nukebomb »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled start fails (missing libwx_base-2.5.so.5??) [solved]
« Reply #1 on: April 08, 2005, 06:42:22 AM »

have you tryed to find that lib?

find / -name libwx_base-2.5.so.5

gimme the output
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."

nukebomb

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: amuled start fails (missing libwx_base-2.5.so.5??) [solved]
« Reply #2 on: April 08, 2005, 08:10:42 AM »

Hey, thx for the quick answer:)

its in /usr/local/lib/libwx_base-2.5.so.5
another location is /pub/temp/wxGTK-2.5.5/lib/libwx_base.2.5.so.5, thats the directory where i extracted and compiled the package in.

Do I have to copy it by hand to some "freely accessible" directory? I thought /usr/local/lib would be the right place:(
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled start fails (missing libwx_base-2.5.so.5??) [solved]
« Reply #3 on: April 08, 2005, 08:14:54 AM »

no no copy :)

just add

/usr/local/lib

to

/etc/ld.so.conf

and then run
/sbin/ldconfig

this will add hte path to the known libs, after that restart your amuled and it should find the missing lib
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."

nukebomb

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3
Re: amuled start fails (missing libwx_base-2.5.so.5??) [solved]
« Reply #4 on: April 08, 2005, 08:20:10 AM »

to give a quote from on of my favorite bands:
"You're simply the best!"

It worked.

I guess the community and people like you make LINUX better that Windoof.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amuled start fails (missing libwx_base-2.5.so.5??) [solved]
« Reply #5 on: April 08, 2005, 08:23:14 AM »

thnx :))

have fun with the daemon,
btw check our wiki about daemon to see some things you should know:

http://www.amule.org/wiki/index.php/FAQ_amuled
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."