Trouble Compiling 4.3.10 on FreeBSD 5.X

Tim Traver tt-list at
Sat Feb 26 20:17:13 GMT 2005

Hi all,

for some reason, I cannot get php to compile a shared object to work
with apache 1.3.33...

Here are the config commands that I used for apache and php :

EAPI_MM=SYSTEM ./configure --enable-module=so --enable-module=info
--enable-module=status --enable-module=rewrite --enable-module=ssl
--enable-shared=ssl --disable-rule=SSL_COMPAT

apache installs and works just fine.

I use this for php :

./configure --with-apxs=/usr/local/apache/bin/apxs --enable-ftp
--with-mcrypt=/usr/local -with-openssl -enable-url-fopen-wrapper
--enable-ftp --with-gd --with-zlib --with-jpeg-dir=/usr/local/lib
--with-png-dir=/usr/local/lib --with-ttf --enable-gd-native-ttf
--with-freetype-dir=/usr/local/lib --enable-shared

It compiles ok, but when I go to install it, it gives an error :

Installing PHP SAPI module:       apache
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/ /usr/local/apache/libexec/
cp: libs/ No such file or directory
apxs:Break: Command failed with rc=1
*** Error code 1

Stop in /dev/php-4.3.10.

and there is no shared object file in the libs directory.

This works just fine on a FreeBSD 4.10 client, but for some reason it
doesn't create the shared object on this 5.3 system.

More info :

System is a Dual Opteron AMD architecture, running a fresh install of
FreeBSD 5.3...



More information about the freebsd-questions mailing list