php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36835 libphp5.so not created when using -with-mysql option
Submitted: 2006-03-23 16:01 UTC Modified: 2006-03-23 23:07 UTC
From: kickass at daringone dot net Assigned:
Status: Not a bug Package: MySQL related
PHP Version: 5.1.2 OS: OpenBSD 3.6
Private report: No CVE-ID: None
 [2006-03-23 16:01 UTC] 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).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-23 23:04 UTC] kickass at daringone dot net
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.
 [2006-03-23 23:07 UTC] tony2001@php.net
Works fine -> no bug.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Dec 02 07:00:01 2025 UTC