Where can I get libjpeg? - problem with mozjpeg - Circumvented ?
Bernard T. Higonnet
bthcom at higonnet.net
Tue Mar 16 08:15:45 UTC 2021
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 at gmail.com <mailto:rkoberman at gmail.com>
> PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
>
>
> On Mon, Mar 15, 2021 at 1:39 PM Bernard T. Higonnet <bthcom at higonnet.net
> <mailto:bthcom at 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 at higonnet.net <mailto:bthcom at higonnet.net>
> <mailto:bthcom at higonnet.net <mailto:bthcom at 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 at gmail.com <mailto:rkoberman at gmail.com>
> <mailto:rkoberman at gmail.com <mailto:rkoberman at gmail.com>>
> > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683d
> _______________________________________________
> freebsd-questions at freebsd.org <mailto:freebsd-questions at 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 at freebsd.org
> <mailto:freebsd-questions-unsubscribe at freebsd.org>"
>
More information about the freebsd-questions
mailing list