Re: SNMP support on compile from source FastCGI
| From: | Mailing Lists) | Date: | Mon, 26 Mar 2007 06:47:30 +0000 |
| Subject: | Re: SNMP support on compile from source FastCGI | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-251352@lists.php.net to get a copy of this message | ||
On 3/26/07, Matt Arnilo S. Baluyos (Mailing Lists)
<matt.baluyos.lists@gmail.com> wrote:
Hello everyone, I'm trying to add the SNMP module with a compile-from-source PHP 5.2.1 installation. This is on a Fedora Core 5 system with target web server being lighttpd. This is the configure script that I have: ./configure --enable-fastcgi --enable-discard-path --enable-force-redirect --with-mysql --with-mbstring --with-mcrypt --with-gd --with-jpeg-dir=/usr/lib/ --with-zlib-dir=/usr/lib/ --with-net-snmp --with-gnu-ld I don't have any errors whatsoever at this point. However, when I do the "make" I get an error like the one below: /usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status make: *** [sapi/cgi/php] Error 1 I tried to check if it was missing a package but I see that libtool-ltdl is already installed on the server. Anyone know what could be wrong here?Ok. I got it to compile. Turns out I had to add the libtool-ltdl-devel package. It's strange though because I don't see an SNMP section on the result of a phpinfo(); -- Stand before it and there is no beginning. Follow it and there is no end. Stay with the ancient Tao, Move with the present.