Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-5793

Fedora packages built with probes_mysql lib

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 5.5.36
    • 5.5.37
    • None
    • None
    • 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

    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

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              jprovazn Jan Provaznik
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.