Problems compiling w/postgres support
| From: | Soma Interesting | Date: | Sun, 03 Dec 2000 09:08:06 +0000 |
| Subject: | Problems compiling w/postgres support | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-28415@lists.php.net to get a copy of this message | ||
I haven't had much success compiling php with postgres support. Here is the error I receive during the "make":
make[1]: Entering directory `/home/dfunct/php-4.0.3pl1'
/bin/sh /home/dfunct/php-4.0.3pl1/libtool --silent --mode=link gcc -I.
-I/home/dfunct/php-4.0.3pl1/ -I/home/dfunct/php-4.0.3pl1
-I/home/dfunct/php-4.0.3pl1/main -I/usr/include/apache
-I/home/dfunct/php-4.0.3pl1/Zend -I/home/dfunct/php-4.0.3pl1
-I/home/dfunct/php-4.0.3pl1/ext/mysql/libmysql
-I/home/dfunct/php-4.0.3pl1/ext/xml/expat/xmltok
-I/home/dfunct/php-4.0.3pl1/ext/xml/expat/xmlparse
-I/home/dfunct/php-4.0.3pl1/TSRM -DEAPI -DXML_BYTE_ORDER=12 -g -O2 -o
libphp4.la -rpath /home/dfunct/php-4.0.3pl1/libs -avoid-version
-L/usr/lib/pgsql -R /usr/lib/pgsql stub.lo Zend/libZend.la
sapi/apache/libsapi.la main/libmain.la regex/libregex.la
ext/mysql/libmysql.la ext/pcre/libpcre.la ext/pgsql/libpgsql.la
ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la
ext/xml/libxml.la TSRM/libtsrm.la -ldl -lpq -lresolv -lm -ldl -lcrypt -lnsl
-lresolv
stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/home/dfunct/php-4.0.3pl1'make: *** [all-recursive] Error 1
I used the following to configure (I'm on Mandrake):
./configure --with-mysql --with-apxs --with-pgsql=/usr/include/pgsqll
which returns no errors.
Any help you can provide would make a big difference. Thanks.