-DMYSQL_CLIENT_NO_THREADS and undefined reference to `my_pthread_fastmutex_init'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
|||
mysql-5.1 (Ubuntu) |
Invalid
|
Medium
|
Unassigned |
Bug Description
Binary package hint: libmysqlclient-dev
This is a known mysql bug
http://
Installing the source for libmysqlclient-dev yields
mysql-dfsg-5.1 in mysql-dfsg-
The error generated when compiling/linking against
-lmysqlclient
-I/
Using
-DMYSQL_
solves the issue but is not really a satisfactory solution in my opinion
Without using
-
this error gets generated
dus.o: In function `g7::dus:
collect2: ld returned 1 exit status
make: *** [all] Error 1
Will this be patched in a future package of
libmysqlcl
I built a very light weight C++ wrapper around the mysql c api, mostly so I do not have to pass mysql parameters around, members of the class I built maintain those the values I need internally, the application is multithreaded.
Thanks and regards,
G
Thanks for the pointer. I have linked the upstream bug against this one, and changed this to Triaged/Medium