You are not logged in.

#1 2005-08-26 17:42:48

ragnarok
Member
From: Naples - Italy
Registered: 2005-08-16
Posts: 42
Website

aMule broken

Hi all,

after updating binutils to the testing version, amule is refusing to start, complaining about a file he cannot find (libbfd-2.15.so). I tried  to recompile it from abs to have amule to dynlink to right libs (libbfd-2.15.so has been replaced by libbfd-2.16-so), but when compiling it complains about a pango function he cannot find. The error is

/usr/lib/libwx_gtk2u_core-2.6.so: undefined reference to `pango_x_get_context'

So i thought that it's an issue due to the old wxgtk compiled for gtk-2.6 (btw: i've upgraded gtk+ to the testing too), so i tried to recompile it. Compilation gone well but the problem is still there. So i tried the rough way: i've created a symlink to libbfd-2.16.so named libbfd-2.15.so. Now amule starts, but i think this will give some problem. Any better idea?


"There's only two thing infinite: the universe and the human stupidity... and i'm not sure about universe"

Albert Einstein

gtkPacman - PyGTK package manager based on pacman
https://gtkpacman.berlios.de

Offline

#2 2005-08-26 23:19:44

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: aMule broken

wx needs a patch to compile against pango 1.10 and gtk 2.8. They seem to be using some very deprecated features from a very old pango release.

For the libbfd thing: after operation libtool-slay has finished, amule should no longer link against versioned binutils libraries (maybe it shouldn't even link at all to it tongue)

Offline

#3 2005-08-27 11:42:52

ragnarok
Member
From: Naples - Italy
Registered: 2005-08-16
Posts: 42
Website

Re: aMule broken

I searched that patch on the wxwindows site, but i didn't find it... May you link me to it?


"There's only two thing infinite: the universe and the human stupidity... and i'm not sure about universe"

Albert Einstein

gtkPacman - PyGTK package manager based on pacman
https://gtkpacman.berlios.de

Offline

#4 2005-08-27 16:01:57

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: aMule broken

Patch is in our CVS, the package is on the FTP. Don't know if the testing db is generated already though.

Offline

#5 2005-09-14 21:25:08

nbcjr
Member
From: BRAZIL!
Registered: 2004-12-04
Posts: 79

Re: aMule broken

i have the same problem, and couldn't understand the solution.


anyone has any suggestion of a emule-like app that has a package??/
thanks a lot

Offline

#6 2006-09-28 09:05:36

nachete
Member
From: Pontevedra, Galicia, Spain
Registered: 2006-06-26
Posts: 12

Re: aMule broken

I think it's happening again. I get this error when I try to run amule:

[ignatz@goldstein ~]$ amule
amule: error while loading shared libraries: libbfd-2.16.1.so: cannot open shared object file: No such file or directory

How can I fix it?

Offline

#7 2006-09-28 10:30:19

snader
Member
Registered: 2006-03-28
Posts: 51

Re: aMule broken

I hackishly fixed it thus:

# ln -s /usr/lib/libbfd-2.17.so /usr/lib/libbfd-2.16.1.so

Offline

#8 2006-09-28 10:41:48

nachete
Member
From: Pontevedra, Galicia, Spain
Registered: 2006-06-26
Posts: 12

Re: aMule broken

snader wrote:

I hackishly fixed it thus:

# ln -s /usr/lib/libbfd-2.17.so /usr/lib/libbfd-2.16.1.so

Thanks a lot big_smile

Offline

#9 2006-09-28 10:41:57

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: aMule broken

Get amule from testing.

Offline

#10 2006-09-28 10:47:05

snader
Member
Registered: 2006-03-28
Posts: 51

Re: aMule broken

Oh, yes, I have that, too. tongue

Offline

#11 2007-07-08 23:39:02

fede
Member
Registered: 2007-06-29
Posts: 126

Re: aMule broken

This broke again for me today, I solved it using a variation of previous 'hack':

ln -s libbfd-2.17.50.0.17.so libbfd-2.17.so

Offline

#12 2007-08-09 05:43:00

AlmaMater
Member
Registered: 2007-02-28
Posts: 92

Re: aMule broken

happened today to me aswell, i also had mo make a link

ln -s /usr/lib/libbfd-2.17.50.0.18.so /usr/lib/libbfd-2.17.so

Offline

#13 2007-08-09 13:05:47

Gilneas
Member
From: Netherlands
Registered: 2006-10-22
Posts: 320

Re: aMule broken

It happened to me too. I thought I'd link it to a place I look more often and wouldn't need root, so I put the link in my ~/lib.
And a line in bashrc: export LD_LIBRARY_PATH="$HOME/lib:$LD_LIBRARY_PATH"
makes it work.
I prefer to keep everything not installed by arch/pacman in my home dir.
And these things happen a lot when you download binary software, so your own ~/lib is very convenient.

Offline

#14 2007-08-09 13:34:38

aRcHaTe
Member
Registered: 2006-10-24
Posts: 646

Re: aMule broken

whhy not use the cvs version? works for me tongue


Its a sick world we live in....

Offline

#15 2007-08-10 00:11:28

Alexdsan
Member
Registered: 2007-07-10
Posts: 28

Re: aMule broken

ln -s /usr/lib/libbfd-2.17.50.0.18.so /usr/lib/libbfd-2.17.so

Thanks... Now come back it function.

Offline

#16 2007-08-12 11:28:47

PavelZh
Member
From: Russia
Registered: 2006-08-04
Posts: 31

Re: aMule broken

rebuilding from ABS is working for me

Offline

#17 2007-08-12 13:21:25

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 272

Re: aMule broken

Ok, it's easy to solve with a symlink (or rebuilding, but that's less convenient), but what is the right solution? I mean, each time binutils gets upgraded we should manually create a new symlink and remove the old one?

A cvs entry in ABS for binutils PKGBUILD says:

"remove symlinks to dynamic libraries, programs should use the static libs"

So this means any program that uses a binutils library should be rebuilt each time binutils is upgraded? If so, then the maintainer of aMule should be contacted (or a bug report filed), right?

Thanks.

Offline

#18 2007-08-12 16:11:14

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: aMule broken

Presumably you checked the bug list?

Offline

Board footer

Powered by FluxBB