libfreetype.so.9 errors

Kevin Oberman rkoberman at gmail.com
Sun Apr 20 19:34:36 UTC 2014


On Sun, Apr 20, 2014 at 12:03 PM, Ajtim <lumiwa at gmail.com> wrote:

> On Sunday 20 April 2014 12:08:12 Warren Block wrote:
> > On Sun, 20 Apr 2014, Herbert J. Skuhra wrote:
> > > On Sun, 20 Apr 2014 10:18:21 -0700 (PDT)
> > >
> > > Beeblebrox wrote:
> > >> Latest compiled ports result in below message for several binaries:
> > >> Shared object "libfreetype.so.9" not found, required by "chrome"
> > >>
> > >> So far the ports I have seen this are www/midori, www/chromium,
> > >> editors/libreoffice; but I have not tested all ports installed on the
> > >> system.
> > >>
> > >> I have read UPDATING, and it does not apply to my situation since I
> do a
> > >> full poudriere run of all ports on the system before each "# pkg
> upgrade
> > >> -r
> > >> myrepo". Recent freetype update (20140416) should therefore not cause
> any
> > >> issue for me.
> > >>
> > >> Is this a problem with the specific ports listed, or a libfreetype
> error?
> > >> I'd like to know before I add a libfreetype.so.9 entry to
> > >> /etc/libmap.conf.
> > >> In /usr/local/lib: libfreetype.a / libfreetype.so /
> libfreetype.so.6.11.2
> > >> /
> > >> libfreetype.la / libfreetype.so.6
> > >
> > >
> http://svnweb.freebsd.org/ports/head/print/freetype2/pkg-plist?r1=347555&r
> > > 2=351411
> > >
> > > Use sysutils/libchk and 'pkg which' to find the port that is linked
> > > against the old library and needs rebuild.
> >
> > sysutils/bsdadminscripts has pkg_libchk, which is somewhat nicer.  Use
> > 'pkg_libchk -qo' to display the list of ports that need to be rebuilt.
> > _______________________________________________
> > freebsd-ports at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
> I did check and rebuild again and I have still:
>
> bootstrap-openjdk-r348097: /usr/local/bootstrap-
> openjdk/jre/lib/amd64/libfontmanager.so misses libfreetype.so.9
>
> compat8x-amd64-8.4.804000.201310_2: /usr/local/lib/compat/libopie.so.6
> misses
> libmd.so.5
> compat8x-amd64-8.4.804000.201310_2: /usr/local/lib/compat/libtacplus.so.4
> misses libmd.so.5
> java3d-1.5.2_2: /usr/local/openjdk6/jre/lib/amd64/libj3dcore-ogl.so misses
> libjawt.so
> java3d-1.5.2_2: /usr/local/openjdk6/jre/lib/amd64/libj3dcore-ogl.so misses
> libjvm.so
> libreoffice-4.1.5_2: /usr/local/lib/libreoffice/program/libofficebean.so
> misses
> libjawt.so
> --
> ajtiM


As the man page states, pkg_libchk can generate false positives for ports
which do not use the system tools (RTL) for loading shareable libraries.
Java is a well known case of this. openoffice also did this, so libreoffice
probably does, as well. I have a guess as to why compat8x is showing up,
but I don't have time to look at the script right now to confirm it.
-- 
R. Kevin Oberman, Network Engineer, Retired
E-mail: rkoberman at gmail.com


More information about the freebsd-ports mailing list