$ORIGIN run-time path & libtool problem
John Center
john.center at villanova.edu
Tue Oct 7 17:09:19 CEST 2008
Hi Alan,
"Doctor, it hurts when I do this..."
"Well, don't do that..." ;-)
I was hoping there was another way around this, but I guess not. I
finally found an old discussion on the Libtool list about this being a
known problem with no easy fix. Oh, well...
Thanks.
-John
Alan DeKok wrote:
> 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.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list