Problems at ./configure
| From: | Bernhard Strathewerd | Date: | Thu, 12 Oct 2000 14:30:51 +0000 |
| Subject: | Problems at ./configure | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-286@lists.php.net to get a copy of this message | ||
Hi!
I have problems with ld. Can you help me?
PHP-Version: 4.0.3
My made:
./configure --with-mysql=/usr/local
--with-apxs=/usr/local/apache/bin/apxs --enable-dbase --with-db2
--with-db3 --with-dbm --with-iodbc --with-gd --enable-bcmath
--enable-calendar --with-kerberos --enable-ftp
--with-openssl=/usr/local/ssl --enable-sockets --with-ttf --with-png-dir
--with-jpeg-dir --with-tiff-dir --with-ttf
debug.log:
CONFIGURE: './configure' '--with-mysql=/usr/local'
'--with-apxs=/usr/local/apache/bin/apxs' '--enable-dbase' '--with-db2'
'--with-db3' '--with-dbm' '--with-iodbc' '--with-gd'
'--enable-bcmath'
'--enable-cal
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -DEAPI
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend
-I$(top_srcdir) -I/usr/local/include/freetype -I/usr/include/gd
-I/usr/local/include/mysql -I/usr/local/include
LDFLAGS: -Wl,-rpath,/usr/local/lib -L/usr/local/lib
-Wl,-rpath,/usr/local/lib/mysql -L/usr/local/lib/mysql
LIBS: -liodbc -lmysqlclient -lttf -lgd -l -l -ldb -lresolv -lm
-ldl -lcrypt -lnsl -lresolv
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/local/lib /usr/local/lib/mysql
uname -a: Linux tux 2.2.16 #1 Wed Aug 2 20:03:33 GMT 2000 i686 unknown
gcc -o conftest -g -O2 -DEAPI -Wl,-rpath,/usr/local/lib
-L/usr/local/lib -Wl,-rpath,/usr/local/lib/mysql -L/usr/local/lib/mysql
conftest.c -liodbc -lmysqlclient -lttf -lgd -l -l -ldb -lresolv -lm -ldl
-lcry
/usr/i486-suse-linux/bin/ld: cannot find -l-l
collect2: ld returned 1 exit status