aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: 20050326 wx error after compile  (Read 5621 times)

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
20050326 wx error after compile
« on: March 26, 2005, 10:27:24 PM »

just compiled amule cvs 20050326, evrything went ok but when i rum amule i get:

Code: [Select]
leo@ubuntu:~$ amule
amule: error while loading shared libraries: libwx_gtk2u_xrc-2.5.so.4: cannot open shared object file: No such file or directory

i have wxgtk-2.5.4 that i compiled, any ideas?

thanks,
Leo Torjeman
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: 20050326 wx error after compile
« Reply #1 on: March 26, 2005, 10:39:10 PM »

with what prefix did you compile wx?

is that path in
/etc/ld.so.conf
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."

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
Re: 20050326 wx error after compile
« Reply #2 on: March 26, 2005, 10:42:53 PM »

wxgtk was compiles with --enable-gtk2 --enable-unicode.
after the install i runed ldconfig and the previous cvs worked ok, the only thing in /etc/ld.so.conf is:

Code: [Select]
/usr/X11R6/lib
Logged

toshi

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 67
Re: 20050326 wx error after compile
« Reply #3 on: March 26, 2005, 10:52:14 PM »

try
Code: [Select]
ln -s /usr/local/lib/libwx* /usr/lib/Rude, but should work...
Logged
God is real, unless declared as integer...

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: 20050326 wx error after compile
« Reply #4 on: March 27, 2005, 11:03:42 AM »

huh?
you can simple add

/usr/local/lib/

to the ld.so.conf...so need for ruin your linux
if done so, run ldconfig
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."

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: 20050326 wx error after compile
« Reply #5 on: March 27, 2005, 02:52:04 PM »

Hey guys, no rocket science here!

leotorjeman, post the line you used to configure wxWidgets. If you do not have this line anymore, but still have the wx sources, do:
$ head /path/to/wx/sources/config.log

Otherwise, you will have to find yourself where you installed wx. If you installed wx. I know you compiled, but did you make install? :D

Did you install it in your home or as root in the system?

Ok, I gave you some questions, try to answer them and enjoy aMule! :)
Logged

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
Re: 20050326 wx error after compile
« Reply #6 on: March 27, 2005, 08:22:30 PM »

well i compiled wxgtk with:

./configure --enable-gtk2 --enable-unicode

then i installed with checkinstall that make an .deb package and installed it. i checked in synaptic and it's installed.

toshi solution worked, just hope it won't mess up my system.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: 20050326 wx error after compile
« Reply #7 on: March 27, 2005, 09:41:05 PM »

well I told you it would, and I told you a solution for it...
so your own fault your system is fucked...

tata
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."

leotorjeman

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 39
Re: 20050326 wx error after compile
« Reply #8 on: March 27, 2005, 11:05:34 PM »

Quote
Originally posted by stefanero
well I told you it would, and I told you a solution for it...
so your own fault your system is fucked...

tata

unfortunely i saw you solution after i used toshi solution, any way to reverse that?
Logged

skolnick

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 24
  • Offline Offline
  • Posts: 1188
  • CentOS 6 User
Re: 20050326 wx error after compile
« Reply #9 on: March 28, 2005, 02:03:18 AM »

rm is used to delete files. Just delete the recently created links.

Regards.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: 20050326 wx error after compile
« Reply #10 on: March 28, 2005, 10:11:17 AM »

right, rm the link and then add

/usr/local/lib/

to
ld.so.conf and run ldconfig and the libs are also known to your system
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."