Building from source with dependency on libjpeg.la on FC5

Rex Dieter rdieter at math.unl.edu
Wed Oct 11 16:26:36 UTC 2006


Rex Dieter wrote:

> Christian Nolte wrote:
> 
>> Since libjpeg.la has been removed from libjpeg-devel according to the
>> following bug report:
>> 
>> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=145971
>> 
>> Packages which need libjpeg.la cannot be built. For example JMagick
>> (http://www.yeo.id.au/jmagick/) does not build from source. The error I
>> get is
>> 
>> libtool: link: cannot find the library `/usr/lib/libjpeg.la'
>> 
>> Is there some workaround using a configure option or something to get it
>> built?
> 
> Most likely, there is some other bit on your system referring to the now
> awol libjpeg.la.
> 
> grep libjpeg.la /usr/lib/*.la
> will highlight the offender(s).
> 
> Fix:  simply rebuild/respin the offending pkg.

Or more quick-n-dirty, from the offending .la files, either remove the
reference to /usr/lib/libjpeg.la or replace it with -ljpeg

-- Rex




More information about the fedora-list mailing list