From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510 Galeon/1.3.16 Description of problem: while the devel package is installed too linking with 'mysql_config --libs' or -L'/usr/lib/mysql' -lmysqlclient -lz -lcrypt -lnsl -lm doesent work because: /usr/bin/ld: cannot find -lmysqlclient where as: -L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm works like a charm. Version-Release number of selected component (if applicable): mysql-3.23.58-9 How reproducible: Always Steps to Reproduce: 1.write a small app that requires libmysqlclient.a 2.link with 'mysql_config --libs' 3.enjoy the missing lib Actual Results: /usr/bin/ld: cannot find -lmysqlclient Expected Results: exit 0 Additional info:
I see that MySQL has removed the quote marks in newer versions of mysql_config, so I've done likewise in mysql-3.23.58-12. (Perhaps someday our lawyers will let us ship MySQL 4 ... but for now we have to backpatch this sort of thing ...)
An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2004-597.html
An errata has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2004-569.html
*** Bug 118301 has been marked as a duplicate of this bug. ***