Bug 129409
| Summary: | linking with 'mysql --libs' doesent seem to work correctly. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | rudolf kastl <che666> |
| Component: | mysql | Assignee: | Tom Lane <tgl> |
| Status: | CLOSED ERRATA | QA Contact: | David Lawrence <dkl> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 2 | CC: | che666, hhorak, redhat-bugzilla, thomas |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-10-06 22:34:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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. *** |
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: