unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dale Snell <ddsnell@frontier.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Building emacs errors: libraries present
Date: Fri, 6 Feb 2015 10:25:38 -0800	[thread overview]
Message-ID: <20150206102538.035d5634@zothique> (raw)
In-Reply-To: <87twyzurya.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2118 bytes --]

On Fri, 06 Feb 2015 07:47:57 -0500, in message 87twyzurya.fsf@gmail.com,
Tory S. Anderson wrote:

> 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
> 
> Indeed, configure apparently found it, right? 
> 
> Unabridged config and make outputs for those interested: 
> 
> http://www.toryanderson.com/files/emacs-configure-output.txt
> http://www.toryanderson.com/files/emacs-make-output.txt     
> 
> Any ideas why it can't find libgif? 

I built Emacs 24.4.1 on my 64-bit Fedora 19 box with no trouble at
all.  Here's what I've got for PNG and GIF libraries:

    $ yum list installed \*png*\ \*gif\*
        <blather deleted>
    libpng.x86_64                 2:1.5.13-3.fc19                   @updates
    libpng-devel.x86_64           2:1.5.13-3.fc19                   @updates
    giflib.x86_64                 4.1.6-7.fc19                      @anaconda
    giflib-devel.x86_64           4.1.6-7.fc19                      @fedora  

Since I'm still running F19, my packages may not be the same as
yours, though I suspect that only the version numbers will have
changed.

When I first ran configure, I didn't have the giflib-devel
package, but it wasn't hard to figure out.  After installing it,
the usual "./configure; make; sudo make install" dance worked
fine.  Note that I didn't have to run configure (or make) as root.
I've _never_ had to do that.  If you do, there's something amiss,
probably in your system library installation.

Anyway, I hope this helps.

--Dale

-- 
"Come, muse, let us sing of rats."  -- James Grainger

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

  parent reply	other threads:[~2015-02-06 18:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-06  3:27 Building emacs errors: libraries present Tory S. Anderson
2015-02-06  7:50 ` Eli Zaretskii
2015-02-06 12:47   ` Tory S. Anderson
2015-02-06 12:54     ` Alexis
2015-02-07 13:30       ` Tory S. Anderson
2015-02-07 14:02         ` Alexis
2015-02-06 18:25     ` Dale Snell [this message]
     [not found]   ` <mailman.19390.1423226883.1147.help-gnu-emacs@gnu.org>
2015-02-07 10:09     ` Anssi Saari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150206102538.035d5634@zothique \
    --to=ddsnell@frontier.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).