This problem seems to have been fixed in the latest snapshot on
snaps.php.net


"Rohan Amin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED].;
> Hello,
>
> I am trying to compile a standalone version of the php binary on my
system:
>
> Redhat 7.2, linux 2.4.17
> php-4.1.2
>
> Below is the debug.log file that is generated after running a configure.
If
> you notice the LIBS line there is, I think, an extra '-l' that is causing
> the error.  Before my configure script had --with-gd before --with-java
and
> the configure error then was "/usr/bin/ld: cannot find -l--library=gd"
>
> I have looked in the configure script and can't seem to find this.  Is
this
> indeed the error?  This error doesn't appear when compiling the apache
> module. If this is indeed the error, how do I fix this typo?
>
> Thanks for your help.
>
> Regards,
>
> Rohan
>
>
> CONFIGURE:   './configure' '--with-prefix=/usr/local/etc/php-4.1.2'
> '--with-config-file-path=/www/conf' '--enable-track-vars'
> '--with-mysql=/usr/local/mysql' '--with-java=/usr/local/java'
> '--enable-sysvsem' '--enable-sysvshm' '--enable-sockets'
> CC:         gcc
> CFLAGS:     -g -O2
> CPPFLAGS:
> CXX:
> CXXFLAGS:
> INCLUDES:      -I$(top_builddir)/Zend -I/usr/local/mysql/include/mysql
>
LDFLAGS:     -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/my
> sql
>
LIBS:       -lmysqlclient -l -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcry
> pt
> DLIBS:
> SAPI:       cgi
> PHP_RPATHS:  /usr/local/mysql/lib/mysql
>
> gcc -o
>
conftest -g -O2   -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/l
> ib/mysql
>
onftest.c -lmysqlclient -l -lcrypt -lresolv -lm -ldl -lnsl  -lresolv -lcrypt
> 1>&5
> /usr/bin/ld: cannot find -l--library=crypt
> collect2: ld returned 1 exit status
>
>
>



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to