aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Problem after wxgtk update  (Read 4850 times)

bepaald

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Problem after wxgtk update
« on: January 04, 2007, 08:21:15 PM »

Hello all,
First I should say I am quite a noob with linux, though today I think I may have lost a lot of noobness.

I decided to compile my own wxGTK-2.8.0 and amule-cvs today, and both went well (I think). But now when I try to run amule I get this:

$ ./amule
./amule: error while loading shared libraries: libwx_gtk2u_adv-2.8.so.0: cannot open shared object file: No such file or directory

I do have the file on my system though:

$ locate libwx_gtk2u_adv-2.8.so.0
/usr/local/lib/libwx_gtk2u_adv-2.8.so.0
/usr/local/lib/libwx_gtk2u_adv-2.8.so.0.0.0

So can someone help me please? Thanks!
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Problem after wxgtk update
« Reply #1 on: January 04, 2007, 08:25:19 PM »

2 commands are needed...

echo "/usr/local/lib" >> /etc/ld.so.conf
/sbin/ldconfig
Logged

bepaald

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Problem after wxgtk update
« Reply #2 on: January 04, 2007, 09:27:58 PM »

Thanks Gerd78!

I had already done ldconfig, but not the command before that. Anyway, it worked like a charm so thanks!
Logged