Re: SNMP support on compile from source FastCGI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/26/07, Matt Arnilo S. Baluyos (Mailing Lists)
<matt.baluyos.lists@xxxxxxxxx> 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.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux