This may be more solaris related, but I need to compile mysql with gcc because perl is compiled with gcc and I need DBD::mysql. It seems the linker can't find the libs. I seem to have the same problem linked dynamicaly expect the build completes and then can't load the shared library when I start mysql.
I hope I have include all relevant info, hope some one can point me the right way! Thanks Ken <much cut> ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a -ldl -lz -lposix4 -lcrypt -lgen -lsocket -ln sl -lm -lpthread -lthread ld: fatal: library -lrt: not found ld: fatal: library -ldl: not found ld: fatal: library -lposix4: not found ld: fatal: library -lpthread: not found ld: fatal: library -lthread: not found ld: fatal: File processing errors. No output written to mysqld collect2: ld returned 1 exit status gmake[4]: *** [mysqld] Error 1 gmake[3]: *** [all-recursive] Error 1 gmake[2]: *** [all] Error 2 gmake[1]: *** [all-recursive] Error 1 gmake: *** [all] Error 2 ------------------------------------------- additional info hill> crle Configuration file [3]: /var/ld/ld.config Default Library Path (ELF): /usr/lib:/usr/local/mysql/lib/mysql Trusted Directories (ELF): /usr/lib/secure (system default) Command line: crle -c /var/ld/ld.config -l /usr/lib:/usr/local/mysql/lib/mysql hill>CC=gcc CFLAGS="-O3 " CXX=gcc \ CXXFLAGS="-O3 -felide-constructors -fno-exceptions -fno-rtti" \ ./configure $DEBUG --enable-large-files --with-innodb \ $LOWMEM --enable-assembler --with-mysqld-ldflags=-all-static hill>gmake -s hill> gcc -v Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --dis able-nls Thread model: posix gcc version 3.3.2 ---------------------------------------------------- Ken Menzel ICQ# 9325188 www.icarz.com [EMAIL PROTECTED] -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]