ID:               22250
 User updated by:  phpbug at spambox dot dk
 Reported By:      phpbug at spambox dot dk
 Status:           Bogus
 Bug Type:         SNMP related
 Operating System: FreeBSD 4.7-stable
 PHP Version:      4CVS-2003-02-18 (stable)
 Assigned To:      sniper
 New Comment:

Just a little side note.

I upgraded to NET-SNMP 5.0.7, and all semed to work.


Previous Comments:
------------------------------------------------------------------------

[2003-02-18 12:05:29] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Confirmed that this is not a bug in PHP. With today's  
cvsup'd system, you cannot even compile the ports version  
of ucd-snmp anymore. Version 2.4.6 you can compile, simply  
because it ignores the error, but it doesn't create a 
library. I guess you installed 2.4.6 version before 
upgrading your system? 
  
This issue is with openssl 0.9.7, which changed the des  
interfaces. Compiling the ports version (cvsup'd as well)  
ends with the following error:  
===========================================================  
cc -DINET6 -O -pipe -g -Dfreebsd4 -I. -I.. -I. -I./.. -c  
scapi.c  -fPIC -DPIC -o .libs/scapi.lo  
scapi.c: In function `sc_encrypt':  
scapi.c:612: incompatible type for argument 1 of `memset'  
scapi.c: In function `sc_decrypt':  
scapi.c:725: incompatible type for argument 1 of `memset'  
*** Error code 1  
  
Stop in  
/sql/usr/ports/net/net-snmp4/work/ucd-snmp-4.2.5/snmplib.  
*** Error code 1  
  
Stop in /sql/usr/ports/net/net-snmp4/work/ucd-snmp-4.2.5.  
*** Error code 1  
  
Stop in /usr/ports/net/net-snmp4.  
===========================================================  
  
I'm afraid you'll have to wait until somebody fixes the  
openssl issues in the ports collection :(. 

------------------------------------------------------------------------

[2003-02-18 05:58:31] phpbug at spambox dot dk

OpenSSL 0.9.7 is in FreeBSD 4.7-stable

>From /usr/src/UPDATEING:
20030214: OpenSSL 0.97 has been imported, and the libcrypto/libssl
library versions have been bumped.

------------------------------------------------------------------------

[2003-02-18 04:55:58] [EMAIL PROTECTED]

Updated description.

The des* interfaces are from openssl. Is 4.7-stable using openssl 0.9.7
already, or did you compile that yourself?
If it is, I'll cvsup my box and try to replicate your problem - unable
to reproduce it, with system supplied openssl 0.9.6g and
ucd-snmp-4.2.5_2 port.

It looks like a problem outside of php though (snmp/openssl linking),
but I'd like to replicate this first to be sure.

------------------------------------------------------------------------

[2003-02-18 04:33:11] phpbug at spambox dot dk

The SNMP package is ucd-snmp-4.2.6.

I compiled this from source with the following:
./configure --prefix=/usr/local
--with-persistent-directory=/var/run/ucd-snmp
--with-sys-contact="[EMAIL PROTECTED]" --with-sys-location=Unknown
--with-logfile=/var/log/snmpd.log --with-openssl=/usr

I use this for my MRTG, without SSL though.

------------------------------------------------------------------------

[2003-02-18 04:26:23] [EMAIL PROTECTED]

Recategorizing.

Sniper's fix works: it points to the correct problem :)
>From the looks of this, you have a problem in your libsmnp library. Try
recompiling it and could you mention which snmp package this is? Is
this the ports version and if so, which exact version (ls -al
/var/db/pkg | grep snmp)?

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/22250

-- 
Edit this bug report at http://bugs.php.net/?id=22250&edit=1

Reply via email to