Mike.Sullivan at sun.com wrote:
> >From sfwnv-discuss-bounces at opensolaris.org Tue Apr 22 01:02:26 2008
>
>   
>>> - Why does it need "LD_LIBRARY_PATH=/opt/SUNWspro/lib", that seems odd?
>>>   
>>>       
>> This was done as a temporary measure to get round the mysql_config 
>> --libs problem. Basically it needs to find libcrun in the linker library 
>> path, at run time is uses the /usr/lib/libcrun.so but I was concerned 
>> about trying to coerce the linker to look into /usr/lib at build time.
>>     
>
> The C++ compiler should already handle finding its libCrun link there.
> Are you using CC to link or ld directly? Don't forget -norunpath
> too if you're linking C++ stuff.
>   

Because of the use of mysql_config -- libs, I don't have any direct 
control over the flags used without patching configure.in and recreating 
the configure script. build 88 should fix this so for now I'll continue 
with the LD_LIBRARY_PATH setting but will use the SPRO_ROOT variable to 
locate it.

Thanks

Amanda


Reply via email to