-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Lukasz Sztachanski wrote: > On Thu, Mar 16, 2006 at 04:37:15PM -0900, Damien Hull wrote: > >>>>Here's what I've got >>>>1. OpenBSD 3.8 >>>>2. Apache 2 >>>>3. MySQL 5 (Static Libraries) >>>>4. PHP5 >>>> >>>>PROBLEM >>>>1. Configured PHP with "apxs2" and "--with-mysql=/usr/local/mysql" >>>>2. "make" works fine. No error message. >>>>3. "make install" can't find "libphp5.so" >>>>4. I configured without MySQL support and everything works. >>>> >>>>I also did a test with PHP4. Same problem. If I add mysql support it >>>>can't find "libphp4.so". >>>> >>>>What's going on here and how do I fix the problem? >>> >>> >>> >>I installed the ports tree and didn't see apache2. That's why I compiled >> from source. >> >>I could try installing mysql from the ports tree and then install PHP5. >>However, compiling from source should work. >> > > did you use --enable-cli while compiling php*? Probably, the most > conveniet will be changing from --with-apxs=/usr/sbin/apxs to > --with-apxs2=/path/to/apxs2 in ports/www/php5/core/Makefile. > > > - Lukasz Sztachanski > >
Didn't know about "--enable-cli" but I did use "--with-apxs2". I think I found out what the problem is. I happened to be watching php compile when this big WRONG came up. Something about MySQL shared libraries. It looks like PHP doesn't like statically compiled libraries which is what I did with MySQL. I'll recompile MySQL without static libraries and see what happens. - -- You can get my public PGP key at https://keyserver.pgp.com http://www.digitaloverload.net Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFEGw+u+rNhalK/8UURAqDDAJ9dkA/skdzO7usDElXXg6cZthvWSwCeO7w3 T3GIVkofCNtNty+oNrcLpko= =uIym -----END PGP SIGNATURE-----