[MDEV-5362] [PATCH] mariadb-5.1.67 link errors on ubuntu 13.10 Created: 2013-11-29  Updated: 2018-07-10  Resolved: 2018-07-10

Status: Closed
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 5.1.67
Fix Version/s: 5.1.73, N/A

Type: Bug Priority: Minor
Reporter: Wenzong Fan Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: None
Environment:

Ubuntu 13.10 32 and 64 bits

GCC/ld Version on Ubuntu 13.10:
gcc (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1
GNU ld (GNU Binutils for Ubuntu) 2.23.52.20130913


Attachments: File fix_libmysqld_link_error.patch    

 Description   

Configure line:

./configure --build=x86_64-linux --host=x86_64-linux --target=x86_64-linux --disable-silent-rules --disable-dependency-trackincd --with-embedded-server

Link error:

/bin/bash ../../libtool  --tag=CXX   --mode=link g++  -O3 -fno-implicit-templates -fno-exceptions -fno-rtti  -rdynamic  -o mysqltest_embedded mysqltest.o ../../libmysqld/libmysqld.la -ldl ../../regex/libregex.la  -lpthread -lcrypt -lnsl -lm  -lpthread -lcrypt -lnsl -lm   -lz
libtool: link: g++ -O3 -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o .libs/mysqltest_embedded mysqltest.o ../../libmysqld/.libs/libmysqld.so -ldl ../../regex/.libs/libregex.a -lpthread -lcrypt -lnsl -lm -lz -Wl,-rpath -Wl,/usr/local/lib/mysql
../../libmysqld/.libs/libmysqld.so: undefined reference to `dlopen'
../../libmysqld/.libs/libmysqld.so: undefined reference to `dlclose'
../../libmysqld/.libs/libmysqld.so: undefined reference to `dlerror'
../../libmysqld/.libs/libmysqld.so: undefined reference to `dlsym'
collect2: error: ld returned 1 exit status 
 



 Comments   
Comment by Sergei Golubchik [ 2013-12-10 ]

Thanks for the patch!

Comment by Elena Stepanova [ 2018-07-10 ]

I don't suppose we're going to fix it now, years since 5.1 and Ubuntu 13.10 (Saucy) EOL-ed.

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