I just joined this list, so I hope my question is appropriate.  I'm trying to 
build mysql-3.23.52 on my UltraEnterprise 3500, running Solaris 7.  I can't use 
a pre-compiled binary because I need to install it in /opt/local rather than 
/usr/local.  I'm using GCC/G++ 3.2, in /opt/local/bin.  My $PATH is:

/opt/local/bin:/usr/ccs/bin:/usr/bin:/usr/sbin

Configuring with

./configure --prefix=/opt/local/mysql

generates no warnings, but make stops with:

Making all in client
make[2]: Entering directory `/opt/local/src/mysql-3.23.52/client'
/bin/sh ../libtool --mode=link g++  -O3 -DDBUG_OFF   -fno-implicit-templates 
-fno-exceptions -fno-rtti -DHAVE_CURSES_H -I/opt/local/src/mysql-3.23.52/include 
-DHAVE_RWLOCK_T  -o mysql  mysql.o readline.o sql_string.o completion_hash.o 
../readline/libreadline.a -lcurses ../libmysql/libmysqlclient.la  -lgen -lsocket 
-lnsl -lm
g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti 
-DHAVE_CURSES_H -I/opt/local/src/mysql-3.23.52/include -DHAVE_RWLOCK_T -o mysql 
mysql.o readline.o sql_string.o completion_hash.o ../readline/libreadline.a 
-lcurses ../libmysql/.libs/libmysqlclient.a -lgen -lsocket -lnsl -lm -lgen 
-lsocket -lnsl -lm
ld: fatal: library -lgcc_s: not found
ld: fatal: library -lgcc_s: not found
ld: fatal: File processing errors. No output written to mysql
collect2: ld returned 1 exit status
make[2]: *** [mysql] Error 1
make[2]: Leaving directory `/opt/local/src/mysql-3.23.52/client'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/src/mysql-3.23.52'
make: *** [all-recursive-am] Error 2

Does anyone have a clue what the problem is?

Karl Anderson
Computer Sciences Corporation,
under contract to U.S. EPA


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to