ID: 36835 User updated by: kickass at daringone dot net -Summary: libphp5.so no created when using -with-mysql option Reported By: kickass at daringone dot net Status: Open Bug Type: MySQL related Operating System: OpenBSD 3.6 PHP Version: 5.1.2 New Comment:
Well, I broke down and did a BUNCH of upgrading. I upgraded to OpenBSD 3.8, and MySQL 5.1.19. The latter fixed the problem. Previous Comments: ------------------------------------------------------------------------ [2006-03-23 16:01:17] kickass at daringone dot net Description: ------------ Greetings all: Trying to get PHP 5.1.2 up and running on my box with MySQL support. However this has been a horrific task :-( It's been a couple full days of Googling and I still haven't found anything that resolves the problem. Box Stats: OpenBSD 3.6 Pentium III 550 w/256MB RAM Apache 2.0.55 MySQL 4.1.11 If I do not configure for MySQL support, everything works fine. libphp5.so is created, and PHP works. Problem is that none of my PHP is any good any more since I use MySQL extensively :-) Reproduce code: --------------- ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql make make install Expected result: ---------------- I expect to have libphp5.so created properly so PHP will have MySQL support. Actual result: -------------- mako# make install Installing PHP SAPI module: apache2handler /usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules /usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/ cp .libs/libphp5.lai /usr/local/apache2/modules/libphp5.la cp .libs/libphp5.a /usr/local/apache2/modules/libphp5.a ranlib -t /usr/local/apache2/modules/libphp5.a chmod 644 /usr/local/apache2/modules/libphp5.a libtool: install: warning: remember to run `libtool --finish /root/php-5.1.2/libs' Warning! dlname not found in /usr/local/apache2/modules/libphp5.la. Assuming installing a .so rather than a libtool archive. chmod 755 /usr/local/apache2/modules/libphp5.so chmod: /usr/local/apache2/modules/libphp5.so: No such file or directory apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop in /root/php-5.1.2 (line 123 of Makefile). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36835&edit=1
