>Description: Several days of trying to get this package to build on Solaris 7 using gcc 3.1.
./configure --prefix=/export/home/mysql --with-unix-socket-path=/var/tmp/mysql.sock --enable-thread-safe-client --with-berkeley-db --enable-local-infile --with-innodb --with-client-ldflags=-R/usr/local/lib CC=gcc CXX=gcc LDFLAGS=-R/usr/local/lib CCFLAGS=-I/usr/local/include Sometimes Makefile's include above LDFLAGS sometimes(like below) they don't. Tried using --with-client-ldflags but had no effect. # --with-mysqld-ldflags Extra linking arguments for mysqld # --with-client-ldflags Extra linking arguments for clients # --with-lib-ccflags Extra CC options for libraries /usr/ccs/bin/ld -G -h libmysqlclient_r.so.10 -o .libs/libmysqlclient_r.so.10.0.0 libmysql.lo net.lo violite.lo password.lo get_password.lo errmsg.lo my_init.lo my_static.lo my_malloc.lo my_realloc.lo my_create.lo my_delete.lo mf_tempfile.lo my_open.lo mf_casecnv.lo my_read.lo my_write.lo errors.lo my_error.lo my_getwd.lo my_div.lo mf_pack.lo my_messnc.lo mf_dirname.lo mf_fn_ext.lo mf_wcomp.lo typelib.lo safemalloc.lo my_alloc.lo mf_format.lo mf_path.lo mf_unixpath.lo my_fopen.lo my_symlink.lo my_fstream.lo mf_loadpath.lo my_pthread.lo my_thr_init.lo thr_mutex.lo mulalloc.lo string.lo default.lo my_compress.lo array.lo my_once.lo list.lo my_net.lo charset.lo hash.lo mf_iocache.lo my_seek.lo my_pread.lo mf_cache.lo my_gethostbyname.lo getopt.lo getopt1.lo getvar.lo my_lib.lo strmov.lo strxmov.lo strnmov.lo strmake.lo strend.lo strnlen.lo strfill.lo is_prefix.lo int2str.lo str2int.lo strinstr.lo strcont.lo strcend.lo bchange.lo bmove.lo bmove_upp.lo longlong2str.lo strtoull.lo! strtoll.lo llstr.lo ctype.lo dbug.lo -lpthread -lthread -lz -lcrypt -lgen -lsocket -lnsl -lm -lpthread -lthread -lc ld: fatal: library -lz: not found ld: fatal: File processing errors. No output written to .libs/libmysqlclient_r.so.10.0.0 >Submitter-Id: mjmatt >Originator: >Organization: Michael Matthews UNIX mail mailto:[EMAIL PROTECTED] Corporate mail mailto:[EMAIL PROTECTED] > >MySQL support: none >Synopsis: Configure brain damage >Severity: non-critical >Priority: low >Category: mysql >Class: sw-bug >Release: mysql-3.23.51 >Server: /usr/local/mysql/bin/mysqladmin Ver 8.12 Distrib 3.23.28-gamma, for >sun-solaris2.7 on sparc Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license Server version 3.23.28-gamma-log Protocol version 10 Connection Localhost via UNIX socket UNIX socket /tmp/mysql.sock Uptime: 29 days 4 hours 8 min 18 sec Threads: 3 Questions: 397712 Slow queries: 9 Opens: 160 Flush tables: 1 Open tables: 114 Queries per second avg: 0.158 >Environment: System: SunOS webnsf 5.7 Generic_106541-09 sun4u sparc SUNW,Ultra-60 Architecture: sun4 Some paths: /usr/local/bin/perl /usr/local/bin/make /usr/local/bin/gmake /usr/local/bin/gcc /opt/tools/SUNWspro/bin/cc GCC: Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.1/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls Thread model: posix gcc version 3.1 Compilation info: CC='gcc' CFLAGS='-O3 -fomit-frame-pointer' CXX='gcc' CXXFLAGS='-O3 -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti' LDFLAGS='' LIBC: -rw-r--r-- 1 bin bin 1696732 Feb 25 2000 /lib/libc.a lrwxrwxrwx 1 root root 11 Mar 9 1999 /lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 bin bin 1115336 Feb 25 2000 /lib/libc.so.1 -rw-r--r-- 1 bin bin 1696732 Feb 25 2000 /usr/lib/libc.a lrwxrwxrwx 1 root root 11 Mar 9 1999 /usr/lib/libc.so -> ./libc.so.1 -rwxr-xr-x 1 bin bin 1115336 Feb 25 2000 /usr/lib/libc.so.1 Configure command: ./configure --prefix=/usr/local/mysql '--with-comment=Official MySQL binary' --with-extra-charsets=complex --enable-assembler --disable-shared --------------------------------------------------------------------- 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