aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 13-09-05 error loading libraries  (Read 2319 times)

aldebaran

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 42
13-09-05 error loading libraries
« on: September 13, 2005, 09:12:02 PM »

after having compiled and installed sucessfully both wxwidgets 2.6.1 and amule cvs 13-09-2005 (by providing  ./configure --enable-optimize --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-kad-compile --with-wxbase-config=path_to_wxbase-config)

starting any exec (both amule & amuled) this is the output:

src/amule: error while loading shared libraries: libwx_gtk2_xrc-2.6.so.0: cannot open shared object file: No such file or directory

The issue should concern wx libraries as also amule 2.0.3 exits with the same error.

any idea how to solve the problem?
thanks

PS: when  I compiled wx the sum at the end of ./configure process was saying it supported compatibility backwards to 2.4 version... so whY?
« Last Edit: September 13, 2005, 09:18:33 PM by aldebaran »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: 13-09-05 error loading libraries
« Reply #1 on: September 14, 2005, 06:24:15 AM »

you have compiled wxWidgets in some path which is not in the libary path of your system, I would assume since you only specified wxBase config, which was btw useless.. its in /usr/local/lib/
the wxBase is useless since its not used with wx-2.5 and higher, wxBase is included in wxGTK from there on, you only need wxBase with wxGTK-2.4
and the backwards compatibility does not hurt....

so can you add

/usr/local/lib/

to

/etc/ld.so.conf

and run

/sbin/ldconfig

and restart amule
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."