Subject: Re: how do I adjust rpath?
To: Eric Haszlakiewicz <erh@jodi.nimenees.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 03/28/2005 19:00:06
On Mon, 28 Mar 2005, Eric Haszlakiewicz wrote:

> 	I have an existing binary.  It's linked against a library in /foo/lib.
> I want to move the library to /bar/lib without re-compiling the binary.
> 	This seems like something that should be easy to do, but I can't
> find the appropriate command and/or flag to do it.

I believe pkgsrc/devel/elfsh can do this.

And I have done this a few times with this tool:
 http://www.mail-archive.com/linux-gcc@vger.rutgers.edu/msg00317.html
It worked for me.

 Jeremy C. Reed

 	  	 	 open source, Unix, *BSD, Linux training
	  	 	 http://www.pugetsoundtechnology.com/