[csw-users] chrpath now in Testing

Mike Watters mwatters at opencsw.org
Wed Apr 1 19:33:48 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ladies and Gentlemen,

I am pleased to announce a new package I copied into testing.

chrpath
This will allow changing the RPATH and RUNPATH values in binaries and libraries.
I have done testing on both sparc and x86 platforms and all seems well.

The main limitation I have found is you can not "grow" the path any larger the
the initial size.

for example:
if the original has RPATH of /opt/csw/lib/SALIST:/opt/csw/lib

you could NOT make it /opt/csw/lib/$ISALIST:/opt/csw/lib
but you CAN make it /opt/csw/lib/$ISALIST

example2:
if the original has RPATH of /opt/csw/lib/\\$ISALIST:/opt/csw/lib:/opt/csw/lib
you can make it /opt/csw/lib/$ISALIST:/opt/csw/lib

you don't need to escape if you use single quotes
chrpath -r '/opt/csw/lib/$ISALIST:/opt/csw/lib' filename
will work beautifully

I had to dig around for the source as the link from FSF is broken.
I downloaded the source from Debian's repository. but the package points
to the FSF site.

- --

Thanks,
Mike

"Any intelligent fool can make things bigger, more complex,
and more violent.  It takes a touch of genius -- and a lot of courage --
to move in the opposite direction."

* Albert Einstein 1879 - 1955
    US German-born Theoretical Physicist
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknTpXwACgkQLrhmsXMSLxek6QCeKhTMINMz+nrtoQijdCT5tNMd
Yg4An1hK1NmHNzesnACRO7k4RsQ2i7ZI
=Pm8U
-----END PGP SIGNATURE-----



More information about the users mailing list