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 -- 0x058B7133 // 16AB 4EBC 29DA D92D 8DBE BC01 FC91 9EF7 058B 7133 http://szati.blogspot.com http://szati.entropy.pl