Skip to content

Can't open shared library - undefined symbol: my_thread_stack_size on CentOS 5 #13

@trel

Description

@trel

With a stock yum installation of mysql-server on CentOS 5 ...

$ cat /etc/redhat-release 
CentOS release 5.10 (Final)
$ mysql --version
mysql  Ver 14.12 Distrib 5.0.95, for redhat-linux-gnu (x86_64) using readline 5.1
$ gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)

I am seeing an undefined symbol in the .so when I try to add the newly compiled functions into the database...

$ sudo make installdb
/usr/bin/mysql  <./uninstalldb.sql
if test -f .libs/lib_mysqludf_preg.dll; then  \
                /usr/bin/mysql  <./installdb_win.sql; \
        else \
                /usr/bin/mysql  <./installdb.sql;\
        fi
ERROR 1126 (HY000) at line 3: Can't open shared library 'lib_mysqludf_preg.so' (errno: 22 /usr/local/lib/lib_mysqludf_preg.so: undefined symbol: my_thread_stack_size)
make: *** [installdb] Error 1

This was originally left in context of working through the aclocal versioning issue - #8 (comment) - but stands on its own as an outstanding issue on CentOS 5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions