Error During make: /usr/bin/ld: cannot find -lsasl

From: Date: Tue, 26 Aug 2003 18:53:56 +0000
Subject: Error During make: /usr/bin/ld: cannot find -lsasl
Groups: php.install 
Request: Send a blank email to php-install+get-11763@lists.php.net to get a copy of this message
The 'configure' script executed correctly, with no errors (below is listed what I switches I used). So, enthusiastically, I run 'make.' It goes through it's normal routine of happily compiling. Then, it stops, and spits out the following completly incomprehensible (to me, at least) error: /usr/bin/ld: cannot find -lsasl collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 Grand. The last thing 'make' did was ... /usr/lib/libxml2.so -lpthread -lz -lm -lz -lm -lcrypt -lcrypt Then comes the above error. Here are my options I used when running 'configure': ./configure --prefix=/usr/local --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-debug --with-z lib --enable-dbase --enable-dbx --enable-dio --with-dom --enable-filepro --with-ldap --enable-memory-limit --with-mysql-sock=/tmp/mysql.sock --enable-xml --with-ttf --enable-versioning Since 'configure' didn't complain any, I doubt that I'm missing any neccesary libraries. Could anybody lend a hand? BTW, I made my own little script to launch configure, and copy itself to my home directory, so I don't forget what options I used when compiling last. Here's the script (aptly named 'doPHPInstall', even though it doesn't execute make or make install): ./configure --prefix=/usr/local --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql --enable-debug --with-zlib --enable-dbase --enable-dbx --enable-dio --with-dom --enable-filepro --with-ldap --enable-memory-limit --with-mysql-sock=/tmp/mysql.sock --enable-xml --with-ttf --enable-versioning cp doPHPInstall /home/daniel/ -- :daniel

« previous php.install (#11763) next »