$ORIGIN run-time path & libtool problem

Alan DeKok aland at deployingradius.com
Tue Oct 7 16:09:31 CEST 2008


John Center wrote:
> I'm having a problem compiling FreeRADIUS 2.1.1 on Solaris 10 using the
> Sun Studio 12 compiler.  I'm trying to specify the run-time library path
> like:
> 
>     -R'$ORIGIN/../lib'

  Er... don't.  Use absolute paths.

> But I'm getting the following error:
> 
>     libtool: link: only absolute run-paths are allowed

  See?

> If I remove the $ORIGIN run-time option, it compiles.  Is there a
> setting for libtool I can make to fix this?

  No.

  Or, edit "ORIGIN" to do the path mangling yourself.  Create a new
environment variable called ORIGINLIB, with the correct absolute path.

  Alan DeKok.



More information about the Freeradius-Users mailing list