Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - 64bit Environments
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - 64bit Environments Running an AMD64 or Xeon system? Of course Linux is ready for it - but if you have any questions feel free to ask in here!

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 15-Apr-2008, 14:47
kopeah
Guest
 
Posts: n/a
Default

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,
  #2 (permalink)  
Old 15-Apr-2008, 14:58
geoffro
Guest
 
Posts: n/a
Default

You shouldn't have to compile it as you will find it on the dvd or in the repos
Have a read here

/Geoff
  #3 (permalink)  
Old 15-Apr-2008, 15:13
kopeah
Guest
 
Posts: n/a
Default

Well, one of the reason we do source code installation is because we need to use custom settings.


  #4 (permalink)  
Old 15-Apr-2008, 15:24
geoffro
Guest
 
Posts: n/a
Default

Quote:
Well, one of the reason we do source code installation is because we need to use custom settings.
[/b]
What custom settings do you need?

/Geoff
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2