Ethereal-dev: Re: [Ethereal-dev] libtool and rpath

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Albert Chin <ethereal-dev@xxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Oct 2003 17:01:43 -0500
On Tue, Oct 14, 2003 at 10:38:56AM -0700, Bryan Henderson wrote:
> On my system, like most Linux systems, rpaths are not generally 
> appropriate.  You're supposed to choose the search path at run time, 
> typically via /etc/ld.so.conf
> and LD_LIBRARY_PATH.  Having an rpath for the GTK library built into the 
> ethereal binary makes it and the GTK library not portable.  And in my 
> case, the rpath happens to be wrong and leads to the wrong GTK library and 
> ethereal won't work at all.
> 
> So why did the make file generate this rpath?  Does it need fixing or did 
> I just do something wrong in configuring the build or installing the GTK 
> library?
> 
> The make output shows that libtool is invoking the linker with the rpath 
> option.

Maybe it is getting rpath from one of the libraries Ethereal depends
on.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)