[OmniOS-discuss] pkgdepend reports unresolved dependencies

Lauri Tirkkonen lotheac at iki.fi
Wed Jan 7 21:19:50 UTC 2015


On Wed, Jan 07 2015 12:52:14 -0500, Alex McWhirter wrote:
> /tmp/build_locadmin/triadic_service_pigeonhole.p5m.int.3 has unresolved dependency '
>     depend type=require fmri=__TBD pkg.debug.depend.file=libdovecot.so.0 \
>         pkg.debug.depend.reason=opt/triadic/lib/amd64/dovecot/libdovecot-sieve.so.0.0.0 \
>         pkg.debug.depend.type=elf \
>         pkg.debug.depend.path=lib/64 \
>         pkg.debug.depend.path=opt/triadic/lib/amd64 \
>         pkg.debug.depend.path=usr/lib/64'.

Okay, so the pkg.debug.depend.file (libdovecot.so.0) cannot be found by
pkgdepend. pkg.debug.depend.reason points to what needs that file
(because the latter links to the former). You were able to build it
successfully, so obviously you linked to the correct library, but
pkgdepend is telling you that the runtime linker can't find
libdovecot.0.0.0 (this would probably bite you at runtime too). I solved
exactly this problem by building pigeonhole with rpath appended so that
libdovecot.so.0 could be found:

https://github.com/niksula/omnios-build-scripts/blob/master/pigeonhole/build.sh#L43

-- 
Lauri Tirkkonen | +358 50 5341376 | lotheac @ IRCnet


More information about the OmniOS-discuss mailing list