> That path isn't where mysql is installed. I checked the paths; my makefile > has the correct path. CC can find the header files, and the linker can find > the lib (using truss I can see the linker open the file). > > I'm not sure where the --prefix cam frome. Is that a compile-time option? > I didn't actually compile the MySQL DB myself. I downlaoded the Solaris > tar.
The --prefix came from your mysqlbug information (near the bottom). Can you type this command in and paste the exact output here? /usr/bin/ldd /work/doctools/mysql-3.23.52/lib/libmysqlclient.so It might also be helpful to cut-n-paste the entire output of 'make' so we can verify things look the way they should. Note: You should also have '-R /work/doctools/mysql-3.23.52/lib' since Solaris is not going to search that directory for the MySQL library at runtime. Add that to your MYSQLLIBS section. This won't fix the compilation issue, but you'll need it to run the 'TEST' program. -=| Ben --------------------------------------------------------------------- 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