#36835 [NEW]: libphp5.so no created when using -with-mysql option
| From: | kickass at daringone dot net | Date: | Thu, 23 Mar 2006 15:01:19 +0000 |
| Subject: | #36835 [NEW]: libphp5.so no created when using -with-mysql option | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-94814@lists.php.net to get a copy of this message | ||
From: kickass at daringone dot net
Operating system: OpenBSD 3.6
PHP version: 5.1.2
PHP Bug Type: MySQL related
Bug description: libphp5.so no created when using -with-mysql option
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 bug report at http://bugs.php.net/?id=36835&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36835&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36835&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36835&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36835&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36835&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36835&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36835&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36835&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36835&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36835&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36835&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36835&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36835&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36835&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36835&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36835&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36835&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36835&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36835&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36835&r=mysqlcfg