SNMP with 4.1.0
| From: | Peter Hicks | Date: | Mon, 24 Dec 2001 20:25:36 +0000 |
| Subject: | SNMP with 4.1.0 | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-78683@lists.php.net to get a copy of this message | ||
All,
I am having terrible difficulty trying to build 4.1.0 as an Apache shared
module. Without SNMP support, all is well. However, as soon as I add
--with-snmp=..., I get the following at compile time:
gcc: /usr/local/snmp/lib/.libs/libsnmp.so: No such file or directory
make[3]: *** [snmp.la] Error 1
make[3]: Leaving directory `/usr/local/src/web/ssl2/php-4.1.0/ext/snmp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/web/ssl2/php-4.1.0/ext/snmp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/web/ssl2/php-4.1.0/ext'
make: *** [all-recursive] Error 1
This only happens when PHP is being compiled as a shared module, and only
happens when SNMP support is compiled in.
Anyone got any ideas?
Festive wishes,
Peter.