[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Failed to build emacs 24.4 source: /bin/ld error
From: |
Sven Joachim |
Subject: |
Re: Failed to build emacs 24.4 source: /bin/ld error |
Date: |
Thu, 05 Feb 2015 19:43:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.51 (gnu/linux) |
On 2015-02-05 19:06 +0100, Eli Zaretskii wrote:
>> From: Sven Joachim <svenjoac@gmx.de>
>> Date: Thu, 05 Feb 2015 18:38:45 +0100
>>
>> > terminfo.o lastfile.o ../lib/libgnu.a -ltiff -ljpeg -lpng15 -lz -lm
>> > -lgif -lXpm -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0
>> > -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0
>> > -lglib-2.0 -lX11 -lXrender -lXft -lasound -lrt -lXrandr -lXinerama
>> > -ltinfo -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgobject-2.0 -lglib-2.0
>> > -lfreetype -lfontconfig -lfreetype -lpthread -lgio-2.0 -lgobject-2.0
>> > -lglib-2.0 -lm -lz
>> > /bin/ld: cannot find -lpng15
>>
>> Looks like your libpng installation is messed up. The include
>> directories indicate you have libpng 1.6 but the linker tries to link
>> with libpng15.so which would come from libpng 1.5.
>
> It could be that one of the other libraries the OP is linking against
> requires 1.5.
That's certainly possible, but then again there is no -lpng16 at all in
his command line. I guess we need to see the whole config.log.
Cheers,
Sven