tech-pkg archive

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


I've been recently digging into an issue where some of our binaries
were pulling in the wrong GCC libraries, and avoiding detection
because these libraries are in the system paths (so you can't just use

To help avoid this I've come up with support for
CHECK_SHLIB_SKIP_RPATHS which allows you to specify paths that should
be skipped when resolving libraries:

So in my case if I specify something like this:

  CHECK_SHLIB_SKIP_RPATHS=	^/usr/lib.*/lib(gcc|ssp)

then I get warned about any packages which are pulling in libgcc et al
from the platform rather than correctly linking against pkgsrc gcc.

Look ok?

Jonathan Perkin  -  Joyent, Inc.  -

Home | Main Index | Thread Index | Old Index