mismatch in mysql_config output and libmysqld cflags
Bug #605021 reported by
Jeff Mitchell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.1 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
When building software against Ubuntu's (and Debian's) mysql packages, if you want to also build against libmysqld on 64-bit environments you need the libmysqld-pic package.
The problem is that libmysqld-pic is built with -fPIC and mysql-server isn't. So if you use mysql_config to get the cflags, includes, and libs needed for building, --cflags lacks -fPIC, and build fails.
Related branches
lp://staging/~clint-fewbar/ubuntu/maverick/mysql-5.1/maverick-beta-papercuts
Rejected
for merging
into
lp://staging/ubuntu/maverick/mysql-5.1
- Thierry Carrez (community): Disapprove
- Ubuntu branches: Pending requested
-
Diff: 124 lines (+18/-31)4 files modifieddebian/additions/my.cnf (+1/-1)
debian/apparmor-profile (+2/-1)
debian/changelog (+14/-29)
debian/mysql-server-5.1.mysql.upstart (+1/-0)
Changed in mysql-5.1 (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in mysql-5.1 (Ubuntu): | |
status: | Triaged → In Progress |
assignee: | nobody → Clint Byrum (clint-fewbar) |
To post a comment you must log in.
The linked branch adds a script,
/usr/bin/ mysql_config_ pic
Which will return the cflags used to build libmysqld-pic.
This way we don't have to conflict with libmysqlclient-dev.