From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.help Subject: Re: Failed to build emacs 24.4 source: /bin/ld error Date: Thu, 05 Feb 2015 19:43:49 +0100 Organization: Gnus News User Services Message-ID: <87mw4sryfu.fsf@turtle.gmx.de> References: <87vbjgs1ga.fsf@turtle.gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423162276 22436 80.91.229.3 (5 Feb 2015 18:51:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Feb 2015 18:51:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 05 19:51:16 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YJRWG-00047H-0T for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Feb 2015 19:51:16 +0100 Original-Received: from localhost ([::1]:44615 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJRWF-0003MO-H2 for geh-help-gnu-emacs@m.gmane.org; Thu, 05 Feb 2015 13:51:15 -0500 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!uio.no!quimby.gnus.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: p4fc60ee4.dip0.t-ipconnect.de Original-X-Trace: quimby.gnus.org 1423161820 3839 79.198.14.228 (5 Feb 2015 18:43:40 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 5 Feb 2015 18:43:40 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.51 (gnu/linux) Cancel-Lock: sha1:uA5KJ7LpzMHUkPn9eJdnRfuQ4Fs= Original-Xref: usenet.stanford.edu gnu.emacs.help:210232 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102509 Archived-At: On 2015-02-05 19:06 +0100, Eli Zaretskii wrote: >> From: Sven Joachim >> 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