tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: patch for REQUIRES
On Sun, Mar 18, 2012 at 08:57:53PM +0100, Filip Hajny wrote:
> On 18. 3. 2012, at 19:06, Joerg Sonnenberger wrote:
>
> > On Sun, Mar 18, 2012 at 01:55:44PM +0100, Filip Hajny wrote:
> >> Without the patch, for instance 'expat' has /usr/lib/libexpat.so.1 (or
> >> whatever else 'ldd' resolved under the DESTDIR environment) recorded
> >> in its REQUIRES, even though the binary (xmlwf) is in fact linked
> >> against the package's own libexpat.so.1.
> >
> > BTW, you should look at getting the readelf based shared library check
> > to work for Solaris, since it is more precise and reliable.
>
> Thanks, but that's not a good option IMO. readelf is not a guaranteed
> part of the SunOS platform. And bringing in devel/binutils opens
> a different can of worms.
Solaris has no tools to extract the necessary data directly in the base
installation? It doesn't have to be readelf. I.e. what is needed is
DT_RPATH and DT_NEEDED.
Joerg
Home |
Main Index |
Thread Index |
Old Index