Ethereal-users: Re: [Ethereal-users] compile problems

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 14 Jan 2001 01:21:31 -0800
On Fri, Jan 12, 2001 at 01:51:29PM -0800, fiorejp@xxxxxxxxx wrote:
> I'm having trouble building ethereal v 0.8.14 on
> solaris 7 on intel.  
> 
> The error that I keep getting is:
> libtool: link: only absolute run-paths are allowed

I didn't have that problem with Ethereal 0.8.15; however, I

	1) don't have LD_LIBRARY_PATH set

and

	2) modified the "glib-config" and "gtk-config" scripts so that
	   they add a "-R" flag as well as a "-L" flag (so that if GLib
	   and GTK+ are installed under "/usr/local", programs linked
	   with them will automatically look in "/usr/local/lib" for
	   shared libraries, and thus don't require you to have
	   LD_LIBRARY_PATH in order to run them).

One or both of these may make the difference.  If you have sufficient
privileges on the machine on which you're building Ethereal to do steps
2 and 3, try:

	1) getting rid of the 0.8.14 tree you have, and re-downloading
	   it (to make sure you get rid of any state information the
	   configuration or build process left around);

	2) changing all lines in "glib-config" that have "-L" flags in
	   them (such as "-L${exec_prefix}/lib") to have, right after
	   the "-L" flag, a "-R" flag with the same directory (such as
	   "-R${exec_prefix}/lib");

	3) doing the same with "gtk-config" (note that the "-L" flag
	   above is an example - "glib-config" and "gtk-config" may have
	   other "-L" flags in addition to that one);

	4) unsetting LD_LIBRARY_PATH in your environment if it's set;

	5) re-doing the "configure" and "make" process.