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
Ken:
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 ?
If not, start troubleshooting by trying to get something like this to compile and execute:
---------test.c--------
#include <pthread.h>
void* run(void* p) { return 0; }
int main() { pthread_t th; pthread_create(&th,0,run,0); }
--------end test.c---------
-- Sasha Pachev Create online surveys at http://www.surveyz.com/
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]