OK, sorry to answer my own post, libgcc was is /usr/local/lib which did not get properl added with crle!
crle -u -l /usr/local/lib Problem gone! Sorry to waste bandwidth (we are just learning solaris!). Ken ----- Original Message ----- From: "Ken Menzel" <[EMAIL PROTECTED]> To: "Sasha Pachev" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, March 12, 2004 10:33 AM Subject: Re: link error gcc compiling mysql on solaris 9 (lib not found) > > > > > That's a mess of a problem. If the libraries were included in the > link, > > configure must have detected them on your system somehow, but now > they are not > > working. Did you by any chance use --with-mysqld-ldflags=-all-static > ? > > > Yes I did, now I realize this doesn't work on Solaris. I tried > linking statically because of the error on the mysql-test script from > the mysql client. So now I am back to a dynamic compile, which > completes just fine and the mysqld starts OK! But now I get an error > from the command line mysql: > hill> pwd > /export/home/ken/mysql/mysql-4.0.18/client > hill> ./mysql > ld.so.1: /export/home/ken/mysql/mysql-4.0.18/client/.libs/lt-mysql: > fatal: libgcc_s.so.1: open failed: No such file or directory > Killed > hill> > > But the mysqld daemon seems to star just fine for testing! > > Thanks for the hints, > Ken > > > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] > > -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]