Happy thanksgiving everyone! And I especially thank those involved in MySQL development and other open source projects -- you really make the computer world a better place for all of us!
I also have a problem that I hope some can help me with ;-) I wrote earlier in this thread, trying to compile PHP 4.0.6 as a DSO for Apache with MySQL. With helpful feedback from Ravi, I used ./configure with the following options: --with-xml --with-zlib --with-mysql=/usr/local/mysql --with-apxs=/usr/sbin/apxs And it compiled -- but returned a warning. I can't copy and paste the warning because it's on my other machine, but I have transcribed it as verbatim as I can: ========================================= WARNING: This library needs some functionality provided by -lmysqlclient. I have the capability to make that library automatically link in when you link to this library. But I can only do this if you have a shared version of the library, which you do not appear to have. ========================================= This warning was repeated, and then another warning: ========================================= WARNING: libtool could not satisfy all declared inter-library dependencies of module libphp4. Therefore, libtool will create a static module, that should work as long as the dlopening application is linked with the -dlopen flag. ========================================= I searched all over my drive for lmysqlclient.so, but could only find lmysqlclient.?a . (I forget the exact letter, it was either lmysqlclient.sa or lmysqlclient.la .) This file was located in the source tree from the build area where I first gnutarred mysql-3.23.44 . I'm not very familiar with the workings of compilers, but I take it that I am missing some library needed for PHP to operate as a DSO in Apache, and that this library is lmysqlclient.so . I'm surprised that it isn't located in my source compile of MySQL. Should I download this file from somewhere else? If I try to run 'make install' without linking this file first, I get the following message at the end of the install: . . . (install messages) . . . cp libs/libphp4.so /usr/libexec/httpd/libphp4.so cp: libs/libphp4.so: no such file or directory apxs:Break: Command failed with rc=1 make[1]: *** [install-sapi] Error 1 make: *** [install-recursive] Error 1 Bash2.05$ Seems that libphp4.so did not get built during the 'make'. And I assume that this happened because the 'make' process could not find the lmysqlclient.so . Am I very far off the mark in this guess? Thanks to any who can help with this quandary! Sincerely, Erik Price --- Ravi Raman <[EMAIL PROTECTED]> wrote: > > You're right. > ./configure --help for more information. > > > -----Original Message----- > If anyone can tell me which directory I should add, that would be > great. I assume that it is '--with-mysql=/usr/local/mysql' , but I > wanted to make sure. ===== Microsoft e[X]tra [P]roprietary -- Is this where you really wanted to go today ? -- http://www.redhat.com/about/opinions/xp.html __________________________________________________ Do You Yahoo!? Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 --------------------------------------------------------------------- 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