Hi all,
We currently running 64 bit SuSE 10.1 and having issue compiling MySQL. This is what I got when trying to compile MySQL
Quote:
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make[3]: *** [mysqld] Error 1
make[3]: Leaving directory `/home/royk/mysql-5.1.23-rc/sql'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/royk/mysql-5.1.23-rc/sql'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/royk/mysql-5.1.23-rc/sql'
make: *** [all-recursive] Error 1
[/b]
|
Our /etc/ld.so.conf is the following:
Quote:
/usr/X11R6/lib64/Xaw3d
/usr/X11R6/lib64
/usr/X11R6/lib/Xaw3d
/usr/X11R6/lib
/usr/x86_64-suse-linux/lib
/usr/local/lib
/opt/kde3/lib
/opt/gnome/lib
/lib64
/lib
/usr/lib64
/usr/lib
/usr/local/lib64
/opt/kde3/lib64
/opt/gnome/lib64
/usr/local/mysql/lib/mysql
/usr/lib/oracle/10.1.0.4/client/lib
include /etc/ld.so.conf.d/*.conf
[/b]
|
Compiled mysql using the following option:
Quote:
./configure \
--localstatedir=/dbdata2 \
--with-mysqld-user=mysql \
--prefix=/usr/local/mysql2 --enable-assembler \
--with-tcp-port=3307 \
--with-plugin-partition \
--with-plugin-archive \
--with-plugin-federated \
--with-plugin-heap \
--with-plugin-innobase \
--with-plugin-myisam \
--with-mysqld-ldflags=-all-static
[/b]
|
I never have any problem compiling MySQL before and never seen this error before (gcc_s). Can anyone point me to the right direction in order to get this MySQL compiled.
Thanks,