pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Error building "mplayer" and "mencoder": "missing library: libutil.so.7"



* On 2020-05-30 at 21:40 BST, Jesus Cea wrote:

> ERROR: bin/mplayer: missing library: libutil.so.7

libutil is a BSD thing, and doesn't exist on SmartOS.  It also doesn't
appear in any relevant pkgsrc packages, so it's a bit mysterious where
it's coming from.

Have a dig around the pkgsrc build area ("cdwrkdir" in a pkgbuild
sandbox), to figure out how it's being detected.

In particular if there are no buildlink symlinks for it (have a look
in the .buildlink directory) then something is bypassing the wrappers
which would be a bug in any case.

To clarify: the error is telling you that the mplayer binary has
linked against that library, but the pkgsrc infrastructure has not
pulled it in as a dependency.  Most of the time this shows where we
have incorrect dependencies, but will also show if illegal libraries
are somehow being pulled in from elsewhere in the system, which would
normally be caught during the build by the wrappers.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index