Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Mar 2021 09:15:45 +0100
From:      "Bernard T. Higonnet" <bthcom@higonnet.net>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Where can I get libjpeg? - problem with mozjpeg - Circumvented ?
Message-ID:  <56f74ff3-7d97-95c0-8584-1f72fc96d442@higonnet.net>
In-Reply-To: <CAN6yY1tRkm4hu2jTm-mTcUU7x3n-y9Aq99MXOu93%2BZs6aVEbJw@mail.gmail.com>
References:  <0d10d4a6-ba21-9082-6b0f-11f99c8c66bc@higonnet.net> <CAN6yY1vbYbKqQ11peUmXDq_DFEFkhxGuCLQUmpiPckdeTr7Dog@mail.gmail.com> <8847e238-dbc2-436f-25b6-630c204f69cc@higonnet.net> <CAN6yY1tRkm4hu2jTm-mTcUU7x3n-y9Aq99MXOu93%2BZs6aVEbJw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello,

Yes, you're certainly right that jpeg-turbo will install
/usr/local/lib/libjpeg.so.8, mine disappeared and for some reason is not 
replaced when jpeg-turbo is installed.

I searched throughout my system for libjpeg and found a libjpeg.so.11, 
and trusting to the gods of backwards compatibility, I copied that and 
renamed it to libjpeg.so.8 and so far (sic) it seems to work.

Unfortunately, as I doubt very much that I will find the true 
explanation and thus solution to my problem, as long as things seem to 
work I will let it go at that, hoping that the problem will fix itself 
some day when I upgrade FreeBSD or ports or something...

Thanks for your help
Bernard Higonnet

On 3/16/21 5:00 AM, Kevin Oberman wrote:
> I can absolutely assure you that jpeg-turbo will install 
> /usr/local/lib/libjpeg.so.8. I can only guess that it was somehow 
> deleted. You can confirm that it should be there with "pkg info -l  
> jpeg-turbo". That lists all files installed by the package. If a 
> different version shows, you have an old package installed. If 
> libjpeg.so.8 shows up, something happened to it.
> 
> I'd suggest re-installing it (pkg delete -f jpeg-turbo; pkg install 
> graphics/jpeg-turbo). You also might try "locate libjpeg.so" to see if 
> it somehow was moved somewhere else.
> --
> Kevin Oberman, Part time kid herder and retired Network Engineer
> E-mail: rkoberman@gmail.com <mailto:rkoberman@gmail.com>
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
> 
> 
> On Mon, Mar 15, 2021 at 1:39 PM Bernard T. Higonnet <bthcom@higonnet.net 
> <mailto:bthcom@higonnet.net>> wrote:
> 
>     No, I'm afraid that graphics/libjpeg-turbo is the same as libjpeg-turbo
>     and pkg upgrade jpeg-turbo had no effect. As expected pkg check -B
>     tells
>     me all the packages missing libjpeg.
> 
>     I am a bit puzzled that pkg says all my packages are up to date, and
>     yet
>     they're missing libjpeg...? I naïvely thought that installing a package
>     installs any dependencies?
> 
>     Bernard Higonnet
> 
>     On 3/14/21 8:32 AM, Kevin Oberman wrote:
>      > On Sat, Mar 13, 2021 at 11:17 PM Bernard T. Higonnet
>      > <bthcom@higonnet.net <mailto:bthcom@higonnet.net>
>     <mailto:bthcom@higonnet.net <mailto:bthcom@higonnet.net>>> wrote:
>      >
>      >     I am running 12.2-RELEASE-p3 GENERIC  amd64, my applications
>     are all
>      >     installed using pkg.
>      >
>      >     Many applications will not start because I am missing
>     libjpeg.so.8.
>      >     I am
>      >     able to find libjpeg.turbo but installing either (or both) of
>      >     jpeg-turbo-2 and libjpeg-turbo-2 do not help.
>      >
>      >     One bizarre particularity of my system is that if I do
>      >
>      >     pkg install mozjpeg
>      >
>      >     it comes back and tells me it will delete just about every
>     package I
>      >     have installed and will not attempt to re-install them:
>      >
>      >     Number of packages to be removed: 207
>      >     Number of packages to be installed: 1
>      >     Number of packages to be reinstalled: 1
>      >
>      >     Any help appreciated.
>      >
>      >     Bernard Higonnet
>      >
>      > I believe you want "pkg install graphics/jpeg-turbo". Do not put the
>      > "-2" onto it. If you already have a version of jpeg-turbo installed,
>      > "pkg upgrade jpeg-turbo". I am baffled as to why mozturbo wants to
>      > delete 207 ports, but deleting a port that you want to replace is
>     done
>      > with the -f switch. It's best to make sure all libraries are
>     available
>      > with "pkg check -B" and "pkg check -d" to confirm that all required
>      > libraries and dependencies are present.
>      > --
>      > Kevin Oberman, Part time kid herder and retired Network Engineer
>      > E-mail: rkoberman@gmail.com <mailto:rkoberman@gmail.com>
>     <mailto:rkoberman@gmail.com <mailto:rkoberman@gmail.com>>
>      > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683d
>     _______________________________________________
>     freebsd-questions@freebsd.org <mailto:freebsd-questions@freebsd.org>
>     mailing list
>     https://lists.freebsd.org/mailman/listinfo/freebsd-questions
>     <https://lists.freebsd.org/mailman/listinfo/freebsd-questions>;
>     To unsubscribe, send any mail to
>     "freebsd-questions-unsubscribe@freebsd.org
>     <mailto:freebsd-questions-unsubscribe@freebsd.org>"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?56f74ff3-7d97-95c0-8584-1f72fc96d442>