Hi Seema ,

I have just sent the information to the Bug submitter asking for little 
more clarity on the bug .Since we cannot hard code the -R option for 
/usr/mysql/5.0/lib/mysql and more so since none of the binaries of mysql 
need this PATH ,I'm not sure what's the best way to do .

I would like to pull out the CR 6664712 from this webrev as of now .Will 
resubmit a new one just for CR6641437 .

Thanks Sunanda


Seema Alevoor wrote:
> Sunanda Menon wrote:
>   
>> Hi Seema ,
>>
>> The two issues are
>>
>> 1) - the inclusion of compiler in the link path
>> Removed this compiler location that was set in LDFLAGS settings .Please 
>> see the LDFLAGS in the gate
>> 2) - the lack of the -R /usr/mysql/5.0/lib/mysql, without which a built 
>> program will not find the shared libraries.
>>
>> I have added the standard library path's with -R option ie -R/usr/lib:/lib
>>
>> Now if I were to test the mysql_config --libs ,it shows it as
>> # cd /usr/mysql/5.0/bin
>> # ls -l mysql_config
>> -rwxr-xr-x   1 root     bin         5493 Mar 12 23:27 mysql_config
>> # ./mysql_config --libs
>> -R/usr/lib:/lib -L/usr/lib -L/lib -lCrun -lrt  
>> -L/usr/mysql/5.0/lib/mysql -lmysqlclient -lz -lgen -lsocket -lnsl -lm
>>     
>
> That is fine. But, -L option means the user, before running the client program
> (compiled using the above flags), will have to explicitly set the 
> LD_LIBRARY_PATH.
> Whereas with '-R', that is not required.
>
> You may want to find out how a mysql client program is usually invoked.
>
>
> -- Seema.
>
>   
>> # pwd
>> /usr/mysql/5.0/bin
>> # uname -a
>> SunOS samp 5.11 snv_81 sun4u sparc SUNW,Sun-Fire-V240
>> #
>>
>> Hope this clarifies .
>> Thanks Sunanda
>>
>> Seema Alevoor wrote:
>>     
>>> CR 6664712 lists 2 issues.
>>> How are you addressing the 2nd issue (lack of mysql lib path in the 
>>> runpath) ?
>>>
>>>
>>> -- Seema.
>>>
>>>
>>> Sunanda Menon wrote:
>>>       
>>>> Hi ,
>>>>
>>>> As part of the CR's 6664712 & 6641437 ,I would like to make changes 
>>>> to the Makefile.sfw .Please review the changes at
>>>> http://cr.opensolaris.org/~sunandam/6664712/ and send me your comments .
>>>>
>>>>
>>>> Thanks
>>>>
>>>>         
>>     
> _______________________________________________
>
>
> webstack-discuss mailing list
> webstack-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/webstack-discuss
>   


-- 
Sunanda Menon
Database Technology Group
BLR03, x87098/91-80-66937098


Reply via email to