Hi all,
I've hit a snag in the dependency resolution that hopefully has a quick
answer.
How do I let "pkgdepend resolve" (or pkgdepend generate) know about
alternate library paths?
Currently I'm getting errors of the form:
/tmp/stc-stf.gendeps.p5m has unresolved dependency '
depend type=require fmri=__TBD pkg.debug.depend.file=libstf.so \
pkg.debug.depend.reason=opt/stc-stf/bin/i386/stf_jnl_start \
pkg.debug.depend.severity=warning pkg.debug.depend.type=elf \
pkg.debug.depend.path=lib \
pkg.debug.depend.path=usr/lib'.
and indeed, ldd shows:
$ ldd ../../../../proto/tools/stf/bin/i386/stf_jnl_start
libstf.so => (file not found)
libc.so.1 => /lib/libc.so.1
libm.so.2 => /lib/libm.so.2
Is there a way to let pkgdepend know to look at opt/stc-stf/*lib*/i386/
? (where libstf.so would be delivered)
For STF in particular, the LD_LIBRARY_PATH is set at execution time
(thought stf_execute and other scripts).
Hmm, It seems like I can add in a "pkg.debug.depend.path" to each line
as needed and that fakes things out sufficiently. Is there a better way
to do this?
Dave
--
Dave Vadovszki
(303)272-2686
500 Eldorado Blvd., Bldg.5
Broomfield, CO US 80021
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss