Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2014 12:34:35 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        ajtiM <lumiwa@gmail.com>
Cc:        Warren Block <wblock@wonkity.com>, "Herbert J. Skuhra" <hskuhra@eumx.net>, FreeBSD Ports ML <freebsd-ports@freebsd.org>
Subject:   Re: libfreetype.so.9 errors
Message-ID:  <CAN6yY1tNm9i2Gw3nphQTA1cw0Oki=qQ=3z5L%2B8qQasfUzg7x4w@mail.gmail.com>
In-Reply-To: <3337168.8AW4MXMPRZ@lumiwa.farms.net>
References:  <1398014301417-5905087.post@n5.nabble.com> <86ha5nga6g.wl%hskuhra@eumx.net> <alpine.BSF.2.00.1404201206370.1762@wonkity.com> <3337168.8AW4MXMPRZ@lumiwa.farms.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 20, 2014 at 12:03 PM, Ajtim <lumiwa@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@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@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@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN6yY1tNm9i2Gw3nphQTA1cw0Oki=qQ=3z5L%2B8qQasfUzg7x4w>