[MDEV-5793] Fedora packages built with probes_mysql lib Created: 2014-03-05  Updated: 2014-04-28  Resolved: 2014-04-08

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.36
Fix Version/s: 5.5.37

Type: Bug Priority: Major
Reporter: Jan Provaznik Assignee: Sergei Golubchik
Resolution: Duplicate Votes: 0
Labels: None
Environment:

Fedora 20

MariaDB-common-5.5.36-1.fc20.x86_64
MariaDB-devel-5.5.36-1.fc20.x86_64
MariaDB-Galera-server-5.5.35-1.x86_64
MariaDB-shared-5.5.36-1.fc20.x86_64
MariaDB-client-5.5.36-1.fc20.x86_64


Issue Links:
Duplicate
is duplicated by MDEV-5152 mysql_config includes -lprobes_mysql ... Closed

 Description   

(similar issue as MDEV-5152 but not custom mariadb build)

One of libraries required to link with mysql client lib is probes_mysql. This lib is not provided by any package.

[root@ibm-x3550m3-15 /]# mysql_config.orig --libs_r
-L/usr/lib64 -lmysqlclient_r -lpthread -lprobes_mysql -lz -lm -lssl -lcrypto -ldl

Then building of MySQL-python module fails (you can reproduce by running pip install MySQL-python):

running build_ext
building '_mysql' extension
creating build/temp.linux-x86_64-2.7
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -Dversion_info=(1,2,5,'final',1) -D__version__=1.2.5 -I/usr/include/mysql -I/usr/include/mysql/.. -I/usr/include/python2.7 -c _mysql.c -o build/temp.linux-x86_64-2.7/_mysql.o -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1
In file included from _mysql.c:44:0:
/usr/include/mysql/my_config.h:439:0: warning: "HAVE_WCSCOLL" redefined [enabled by default]
 #define HAVE_WCSCOLL
 ^
In file included from /usr/include/python2.7/pyconfig.h:6:0,
                 from /usr/include/python2.7/Python.h:8,
                 from _mysql.c:29:
/usr/include/python2.7/pyconfig-64.h:908:0: note: this is the location of the previous definition
 #define HAVE_WCSCOLL 1
 ^
gcc -pthread -shared -Wl,-z,relro build/temp.linux-x86_64-2.7/_mysql.o -L/usr/lib64 -L/usr/lib64 -lmysqlclient_r -lpthread -lprobes_mysql -lz -lm -lssl -lcrypto -ldl -lpython2.7 -o build/lib.linux-x86_64-2.7/_mysql.so
/bin/ld: cannot find -lprobes_mysql
collect2: error: ld returned 1 exit status
error: command 'gcc' failed with exit status 1



 Comments   
Comment by Sergei Golubchik [ 2014-04-08 ]

That's pretty much the same issue. I'll close it as a duplicate. The fix will be in 5.5.37

Comment by Frederic -lefred- Descamps [ 2014-04-24 ]

How can it be closed, there is no release yet with the fix. When could we expect for it ?

Thx

Comment by Sergei Golubchik [ 2014-04-28 ]

This bug has "Fix version/s: 5.5.37" and 5.5.37 is already released.

If you're asking about 10.0.11 (which is in "Fix version/s" for MDEV-5152), normally the release schedule is at http://mariadb.org/jira, but at the moment it's broken (see JRA-38051). The 10.0.11 release is planned for the next Monday.

Generated at Thu Feb 08 07:07:05 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.