On Thu, 2 Aug 2001, Greg Donald wrote:

> /usr/bin/ld: cannot find -l--library=crypt
> collect2: ld returned 1 exit status
> make[1]: *** [libphp4.la] Error 1
> make[1]: Leaving directory `/usr/src/php-4.0.6'
> make: *** [all-recursive] Error 1

> /usr/bin/ld: cannot find -l--library=crypt

        There is a typo somewhere. I had same kind of the problem
        which was fixed by manually finding the lone "-l" from configure
        script and removing it. After that it compiles nicely.

        #diff configure configure.org 
        23235c23235
        <   LIBS=" $LIBS"
        ---
        >   LIBS="-l $LIBS"

        I think the typo comes there from buildconf. Didn't dig any
        deeper though.

-- 
Mika Tuupola                      http://www.appelsiini.net/~tuupola/


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to