From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anssi Saari Newsgroups: gmane.emacs.help Subject: Re: Building emacs errors: libraries present Date: Sat, 07 Feb 2015 12:09:32 +0200 Organization: An impatient and LOUD arachnid Message-ID: References: <87a90rwwhf.fsf@gmail.com> <83egq3eaxb.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1423303819 14035 80.91.229.3 (7 Feb 2015 10:10:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 7 Feb 2015 10:10:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 07 11:10:19 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 1YK2LC-0007qc-Uj for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Feb 2015 11:10:19 +0100 Original-Received: from localhost ([::1]:51975 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YK2LC-0003Bm-3D for geh-help-gnu-emacs@m.gmane.org; Sat, 07 Feb 2015 05:10:18 -0500 Original-Path: usenet.stanford.edu!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Injection-Info: mx02.eternal-september.org; posting-host="649029e837e5fec2820f60dc871514ec"; logging-data="24755"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1873yc9eMnVrR2LrLO9kUo7" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:nEt+P9Cwib89ejbigVF1CS54HR8= sha1:YsSoIIrO1Jqic9X/L2kh02z2qwk= Original-Xref: usenet.stanford.edu gnu.emacs.help:210273 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:102550 Archived-At: torys.anderson@gmail.com (Tory S. Anderson) writes: > Okay; I'm making progress. I have identical problems with both 24.4 > and 25.0.5 build processes now. LibPNG is being found! But the gif > library is not. In summary, I get NO configure errors (as long as I do > sudo configure), but I get the following make error (even with sudo > make, which I know is probably a dangerous command): > > ./temacs: error while loading shared libraries: libgif.so.7: cannot open shared object file: No such file or directory > > But a find locates it just fine: > > $ sudo find / -name "libgif.so.7" > /usr/local/lib/libgif.so.7 Why is libgif in /usr/local? If you installed it yourself for some reason bypassing the normal package manager then have you ever built anything with it that works? Does ldd temacs tell you anything interesting? You may want to check your /etc/ld.so.conf to see where the dynamic linker looks for libraries. /usr/local isn't always included.