Install Error
| From: | Darren | Date: | Mon, 02 Jul 2007 15:01:17 +0000 |
| Subject: | Install Error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-18100@lists.php.net to get a copy of this message | ||
Not sure what is going wrong but here is the output of the debug log
CONFIGURE: './configure' '--prefix=/usr/local/apache2/php'
'--with-zlib'
'--with-xml' '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-mysql=/usr/local/mysql'
CC: gcc
CFLAGS: -I/usr/include -g -O2
CPPFLAGS: -no-cpp-precomp
CXX:
CXXFLAGS:
INCLUDES: -I/usr/include/libxml2
-I/Users/darren/src/php-5.2.3/ext/date/lib -I/usr/local/mysql/include
LDFLAGS: -liconv -L/usr/lib -L/usr/local/mysql/lib
-L/usr/local/mysql/lib
LIBS: -lmysqlclient -liconv -lz -lm -lxml2 -lz -liconv -lm -lxml2 -lz
-liconv -lm -lxml2 -lz -liconv -lm
DLIBS:
SAPI: apache2handler
PHP_RPATHS: /usr/local/mysql/lib
uname -a: Darwin Macbook-Pro.local 8.10.1 Darwin Kernel Version 8.10.1:
Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386
gcc -o conftest -I/usr/include -g -O2 -no-cpp-precomp -liconv -L/usr/lib
-L/usr/local/mysql/lib -L/usr/local/mysql/lib conftest.c -lmysqlclient
-liconv -lz -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz
-liconv -lm 1>&5
conftest.c: In function 'main':
conftest.c:3: warning: incompatible implicit declaration of built-in
function 'exit'
dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.15.dylib
Referenced from: /Users/darren/src/php-5.2.3/./conftest
Reason: image not found
../configure: line 90456: 6449 Trace/BPT trap ./conftest