sunhelp at cjs226.com
Fri May 27 09:21:30 CDT 2005
I've set the following:
- LDFLAGS="-L/usr/local/lib -R/usr/local/lib"
- CFLAGS="-Wl,-L/usr/local/lib -Wl,-R/usr/local/lib"
However, I couldn't compile it until I again set:
After I compiled I still have the same issue of not being able to run
perl unless I set LD_LIBRARY_PATH.
I'd rather not use crle as 1) it's scary ;-) and 2) if I ever have to
use this install of perl on other systems it's one more complication to
add to the mix. Any other ideas?
Matthew Weigel wrote:
>On 26 May, 2005, at 10:38 PM, Steve Sandau wrote:
>>Yes. Always having a root shell open when changing things is a good
>>idea. I think you have to be very careful with crle; I think it may
>>change the environment for an already-open shell, too.
>Yes, it effects process creation.
>> A root shell
>>ought to allow you to fix mistakes with 'rm /var/ld/ld.config' though.
>By itself, that's not even enough - creating the 'rm' process might
>fail :-) However, you can set LD_NOCONFIG, which ignores ld.config
>long enough to delete it or change it.
More information about the SunHELP