Hi Sunanda, > The CR 6664712 : mysql_config provides incorrect link library > configuration talks about patching of mysql_config to provide the -R > /usr/mysql/5.0/lib/mysql option so that other programs can use it > which > depends on mysql .As such mysql binaries doesn't need this path to be > set and I would expect the programs to set the LD_LIBRARY_PATH to run > itself . > However this is not what it looks like . > > Question : > Is it appropriate to patch the mysql_config with a hard coded path > of -R > /usr/mysql/5.0/lib/mysql as this would change each time a different > version is used .How do other components handle this ? > > Thoughts/Suggestions ?
I'm not clear on what the issue is here - is there a bug in mysql_config that returns the wrong configuration information? mysql_config relies on the the installation directory structure to determine the PATH information that it should return. It should return the right information, providing it can correctly determine where it is located and where the other information is in relation to the mysql_config script. If mysql_config , it might be that the layout we are currently using is the source of the problem. As to patching it, I'd rather we fixed the main mysql_config script in the releases if we can, so that users installing MySQL from source benefit from the fix/improvement. MC -- Martin 'MC' Brown, mc at mcslp.com Everything MCslp: http://planet.mcslp.com