Hello, I'm a psuedo-newbie with mysql. I've had so much administrative success with it in the past, I haven't had to seek counsel elsewhere. I didn't see a list tailored to MySQL admins, so I suppose this place is the best to post this question.
I have been running MySQL in 32-bit mode on Solaris for about a year now. I've been attempting to compile 3.23.52 in 64 bit mode using the Sun Workshop 6 Update 2 compiler. Everything works/compiles great until it's link time. I think the libtool or /usr/ccs/bin/ld thinks either: - my system cannot run 64 bit apps - there's a 32-bit library out there that cannot mate with a 64-bit library Is there a way to get libtool to tell me what libraries it is using and where it is looking? I think if I had that list I could audit it for 32-bit libs. (I suspect it may be curses, but I cannot tell where it is looking) Here's the barf from the shell: /bin/sh ../libtool --mode=link /opt/SUNWspro/bin/CC -O3 -DDBUG_OFF -DHAVE_CURSES_H -I/opt/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 -lz -lgen -lsocket -lnsl -lm /opt/SUNWspro/bin/CC -O3 -DDBUG_OFF -DHAVE_CURSES_H -I/opt/src/mysql-3.23.52/include -DHAVE_RWLOCK_T -o .libs/mysql mysql.o readline.o sql_string.o completion_hash.o ../readline/libreadline.a -lcurses ../libmysql/.libs/libmysqlclient.so -lz -lgen -lsocket -lnsl -lm -lz -lgen -lsocket -lnsl -lm -R/opt/local/lib/mysql ld: warning: file ../readline/libreadline.a(readline.o): wrong ELF class: ELFCLASS64 ld: fatal: file ../libmysql/.libs/libmysqlclient.so: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to .libs/mysql *** Error code 1 make: Fatal error: Command failed for target `mysql' Current working directory /opt/src/mysql-3.23.52/client *** Error code 1 make: Fatal error: Command failed for target `all-recursive' Current working directory /opt/src/mysql-3.23.52 *** Error code 1 make: Fatal error: Command failed for target `all-recursive-am' bash-2.03$ file ./libmysql/.libs/libmysqlclient.so ./libmysql/.libs/libmysqlclient.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped bash-2.03$ Thanks for your time, -Phil Phil Forrest 334-844-6910 Auburn University Dept. of Physics Network & Scientific Computing 207 Leach Science Center --------------------------------------------------------------------- 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