Bug #30941 I want to build mysql with libmysqlclient.a, not libmysqlclient.so.
Description:
Hi,
I want to build mysql with libmysqlclient.a, not libmysqlclient.so.
I static link with libstdc++.a, I want statid link with libmysqlclient.a.
But I don't want static link all system *.so with *.a.
Thanks.
ldd mysql
libncurses.so.5 => /usr/lib64/libncurses.so.5 (0x0000003a66d00000)
libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000003a5fa00000)
libmysqlclient.so.16 => /home/abc/mysql/lib/mysql/libmysqlclient.so.16 (0x0000002a95575000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003a66700000)
libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003a66b00000)
libz.so.1 => /usr/lib64/libz.so.1 (0x0000003a5fe00000)
libm.so.6 => /lib64/tls/libm.so.6 (0x0000003a5f200000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000003a5ed00000)
/lib64/ld-linux-x86-64.so.2 (0x0000003a5eb00000)
How to repeat:
Build gcc with only libstdc++.a, not with libstdc++.so.
../src/configure --prefix=/opt/gcc-4.2.1 --disable-nls --disable-shared --enable-threads=posix --enable-checking=release --enable-__cxa_atexit --disable-libunwind-exceptions --host=x86_64-redhat-linux
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.047 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: Hi, I want to build mysql with libmysqlclient.a, not libmysqlclient.so. I static link with libstdc++.a, I want statid link with libmysqlclient.a. But I don't want static link all system *.so with *.a. Thanks. ldd mysql libncurses.so.5 => /usr/lib64/libncurses.so.5 (0x0000003a66d00000) libpthread.so.0 => /lib64/tls/libpthread.so.0 (0x0000003a5fa00000) libmysqlclient.so.16 => /home/abc/mysql/lib/mysql/libmysqlclient.so.16 (0x0000002a95575000) libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003a66700000) libnsl.so.1 => /lib64/libnsl.so.1 (0x0000003a66b00000) libz.so.1 => /usr/lib64/libz.so.1 (0x0000003a5fe00000) libm.so.6 => /lib64/tls/libm.so.6 (0x0000003a5f200000) libc.so.6 => /lib64/tls/libc.so.6 (0x0000003a5ed00000) /lib64/ld-linux-x86-64.so.2 (0x0000003a5eb00000) How to repeat: Build gcc with only libstdc++.a, not with libstdc++.so. ../src/configure --prefix=/opt/gcc-4.2.1 --disable-nls --disable-shared --enable-threads=posix --enable-checking=release --enable-__cxa_atexit --disable-libunwind-exceptions --host=x86_64-redhat-linux