On 09-11-2014 00:50, Bruce Dubbs wrote:
> Ken Moffat wrote:
> 
>>   Might be the jpeg symlinks!
>>
>>   With turbo, the libjpeg.so.7 or libjpeg.so.8 version is ostensibly
>> older than what jpegsrc provided.  When ldconfig runs, e.g. during
>> the SM or firefox install, it will see that and remake the symlink
>> to point to the jpegsrc version.
>>
>>   My ff upgrade script now checks to see what version libjpeg.so is
>> pointing to (8.0.2 on LFS-7.6), then checks what .so.7 or .so.8
>> pointed to [ on old systems with jpegsrcv7 I used to build turbo as
>> if it was v7 when I upgraded to it ] and if necessary remakes the
>> symlinks to point to the turbo version.  I guess I might now have
>> got rid of all my systems which originally used jpegsrc, but I'm not
>> sure, so for the moment I keep my block of shell script which fixes
>> that.
> 
> What I have right now is:
> 
>   1536932 Jul  1  2012 libjpeg.a
>       775 Nov  6 19:56 libjpeg.la
>        16 Nov  6 19:56 libjpeg.so -> libjpeg.so.8.0.2
>        16 Nov  6 19:56 libjpeg.so.8 -> libjpeg.so.8.4.0
>    424688 Nov  6 19:56 libjpeg.so.8.0.2
>   1027563 Jul  1  2012 libjpeg.so.8.4.0
>       956 Jul  2  2012 libopenjpeg.la
>        20 Jul  2  2012 libopenjpeg.so -> libopenjpeg.so.1.5.0
>        20 Jul  2  2012 libopenjpeg.so.1 -> libopenjpeg.so.1.5.0
>    564664 Jul  2  2012 libopenjpeg.so.1.5.0
>       805 Nov  6 19:56 libturbojpeg.la
>        21 Nov  6 19:56 libturbojpeg.so -> libturbojpeg.so.0.0.0
>        21 Nov  6 19:56 libturbojpeg.so.0 -> libturbojpeg.so.0.0.0
>    463705 Nov  6 19:56 libturbojpeg.so.0.0.0
> 
> I think you are saying that libjpeg.so.8 should be pointing to
> libjpeg.so.8.0.2.  Is that right?
> 
> I made the change to the libjpeg.so.8 symlink, restarted SM, and the
> jpegs seem to come up now.  Should we be saying something about that in
> the book?  It should be as simple as 'rm -f /usr/lib/libjpeg.so*' before
> libjpeg-turbo's make install.

I agree. Comment would be helpful, just before it: If you are updating
from older libjpeg or jpegsrc... I have had this idea since long, with
respect to libjpeg, Ken may remember.


-- 
[]s,
Fernando
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to