For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > November 2004 > compile php with snmp









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author compile php with snmp
Kurt

2004-11-29, 4:01 pm

Hi,
I tried to compile my php 4.3.9 with snmp support but it won't work.
Compiling Net-SNMP always worked good --> I tried the 5.2rc4 and also the
older version 5.1.2 successfully so far. I use Fedora Core 2.

Here's what I already tried with php (Every configure options version listed
below was tried with both of the two snmp versions):

../configure --with-openssl --with-apxs=/usr/local/apache/1.3.31/bin/apxs --w
ith-mysql=/usr/local/mysql/4.0.20/ --with-zlib --with-gd --enable-versioning
--enable-track-vars=yes --enable-url-includes --enable-sysvshm=yes --enable
-sysvsem=Yes --with-config-file-path=/etc --with-ldap --with-snmp && make &&
make install

I also tried without openssl
and I tried with: --disable-cli --disable-pear (using these php would
compile correctly but trying to restart apache wouldn't work)

Here's my error message:

......
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).

Installing PHP SAPI module: apache
[activating module `php4' in /usr/local/apache/1.3.31/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/1.3.31/libexec/libphp4.so
chmod 755 /usr/local/apache/1.3.31/libexec/libphp4.so
cp /usr/local/apache/1.3.31/conf/httpd.conf
/usr/local/apache/1.3.31/conf/httpd.conf.bak
cp /usr/local/apache/1.3.31/conf/httpd.conf.new
/usr/local/apache/1.3.31/conf/httpd.conf
rm /usr/local/apache/1.3.31/conf/httpd.conf.new
Installing PHP CLI binary: /usr/local/bin/
Installing PHP CLI man page: /usr/local/man/man1/
Installing PEAR environment: /usr/local/lib/php/
/root/php-4.3.9/sapi/cli/php: error while loading shared libraries:
/root/php-4.3.9/sapi/cli/php: undefined symbol: usmAES192PrivProtocol

make[1]: *** [install-pear-installer] Error 127
make: *** [install-pear] Error 2
........

Hope anybody can help,
Kurt
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com