tech-pkg archive

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

$ORIGIN



Following the gobject-introspection saga: on NetBSD it builds correctly
outside of pkgsrc. (Installs useless binary with stripped rpath, but it
builds.)

The uninstalled tool g-ir-compiler runs correctly without a LD_LIBARY_PATH
kludge as output/tools/g-ir-compiler contains:

  NEEDED               libgirepository-1.0.so.1
  RPATH                /usr/pkg/lib:$ORIGIN/../girepository:$ORIGIN/../girepository/cmph

so it appears that outside of pkgsrc, the correct thing happens (from the
build view). [Must see whether outside of pkgsrc the correct thing happens
on MacOS.]

What does pkgsrc do to $ORIGIN and why?


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index