help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building emacs errors: libraries present


From: Tory S. Anderson
Subject: Re: Building emacs errors: libraries present
Date: Fri, 06 Feb 2015 07:47:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

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? 


Eli Zaretskii <eliz@gnu.org> writes:

>> From: torys.anderson@gmail.com (Tory S. Anderson)
>> Date: Thu, 05 Feb 2015 22:27:08 -0500
>> 
>> $ ./configure
>> ... # list omitted
>> configure: error: The following required libraries were not found:
>>      libpng libgif/libungif
>> Maybe some development libraries/packages are missing?
>> If you don't want to link with them give
>>      --with-png=no --with-gif=no
>> as options to configure
>> 
>> $ sudo yum install libpng libpng-devel
>> ... # list omitted
>> Package 2:libpng-1.6.6-3.fc20.x86_64 already installed and latest version
>> Package 2:libpng-devel-1.6.6-3.fc20.x86_64 already installed and latest 
>> version
>> Nothing to do
>> 
>> $ whereis libpng
>> libpng: /usr/lib64/libpng16.so /usr/lib64/libpng.so 
>> /usr/share/man/man3/libpng.3.gz
>> ==============================
>> 
>> Of course I've successfully built without the png libraries but I really do 
>> need the png libraries for other emacs packages. What's wrong? Why is it 
>> ignoring my working libpng? 
>
> Look in config.log for clues: you should see there compiler error
> messages when it tried to look for the libraries.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]