Hello,

I got freebsd 4.2-stable and I don't know why php is getting invalid LDFLAGS, it's not 
/usr/local/lib/lib, its just /usr/local/lib...


thanks



CONFIGURE:   './configure' '--with-apache=../apache_1.3.17' 
'--with-config-file-path=/etc' '--with-debug=no' '--with-gd' 
'--with-ttf=/usr/local/lib' '--with-j
peg-dir=/usr/local/lib' '--with-xml' '--enable-safe-mode' '--enable-ftp' 
'--enable-sockets' '--enable-trans-sid' '--enable-zlib=/usr/lib' '--disable-pear' '--
enable-wddx' '--with-openssl' '--enable-sigchild' '--enable-bcmath' '--with-mysql'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES:    -I/usr/home/mmap/apache_1.3.17/src/include 
-I/usr/home/mmap/apache_1.3.17/src/os/unix  -I$(top_builddir)/Zend 
-I/usr/home/mmap/php-4.0.4pl1/ext/m
ysql/libmysql
LDFLAGS:     -R/usr/local/lib/lib -L/usr/local/lib/lib
LIBS:       -lgd -ljpeg -lcrypto -lssl -lm -lcrypt  -L/usr/local/lib/lib -ljpeg
DLIBS:
SAPI:       apache
PHP_RPATHS:  /usr/local/lib/lib
uname -a:   FreeBSD vodka 4.2-STABLE FreeBSD 4.2-STABLE #0: Sat Feb 10 09:40:45 EST 
2001     mmap@vodka:/usr/src/sys/compile/VODKA  i386

gcc -o conftest -g -O2   -R/usr/local/lib/lib -L/usr/local/lib/lib conftest.c -lgd 
-ljpeg -lcrypto -lssl -lm -lcrypt  -L/usr/local/lib/lib -ljpeg 1>&5
/usr/libexec/elf/ld: cannot find -lgd

Reply via email to