[ports] why no libXXX after make install of libXXX?

Bernt Hansson bah at bananmonarki.se
Mon May 28 10:51:26 UTC 2012


2012-05-27 01:17, Gary Aitken skrev:
> On 05/26/12 14:03, Gary Aitken wrote:
>> I'm trying to install audacious, which depends on libmowgli.
>> The port fails to build because of a missing library.
>> Shouldn't the build of a library result in the library being placed in /usr/local/lib?
>
> I notice that /var/db/pkg/libmowgli-1.0.0/+CONTENTS
> and similar files for a few other packages
> shows files which don't exist:
>
> @comment PKG_FORMAT_REVISION:1.1
> @name libmowgli-1.0.0
> @comment ORIGIN:devel/libmowgli
> @cwd /usr/local
> ...
lib/libmowgli.so

It's a link.

lib/libmowgli.so.2

So is this one.

lib/libmowgli.so.2.0.0

Links to this file.


I had no problems building devel/libmowgli

lrwxr-xr-x   1 root  wheel        18 28 Maj 12:38 libmowgli.so -> 
libmowgli.so.2.0.0
lrwxr-xr-x   1 root  wheel        18 28 Maj 12:38 libmowgli.so.2 -> 
libmowgli.so.2.0.0
-rwxr-xr-x   1 root  wheel     88546 28 Maj 12:38 libmowgli.so.2.0.0


> I think this is a screwed up situation;
> there are no libmowgli files in /usr/local/lib
>
> What's the best way to recover from it if so?

Try pkg_add -r libmowgli


More information about the freebsd-questions mailing list