Subject: Re: bug#20124: Building emacs and libjpeg not found on Fedora 22

From: Eli Zaretskii <[email-masked]>
Date: Tue, 17 Mar 2015 13:02:45 +0200

> Date: Tue, 17 Mar 2015 10:47:10 +0100
> From: Petr Hracek <[email-masked]>
> 
> configure: error: The following required libraries were not found:
>       libjpeg
> Maybe some development libraries/packages are missing?
> If you don't want to link with them give
>       --with-jpeg=no
> as options to configure
> 
> I have installed following libjpeg versions:
> libjpeg-turbo-1.4.0-1.fc22
> libjpeg-turbo-devel-1.4.0-1.fc22.
> (http://koji.fedoraproject.org/koji/buildinfo?buildID=605282)
> 
> The first package delivers SO libraries like so.62.0
> second one delivers headers and libjpeg.so library
> 
> Do you have any idea where could be a problem?

Look in the config.log file for compiler error messages when it probed
for libjpeg availability -- those error messages should give you a
clue about what's wrong with your system configuration.