Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80210 - php crashes when compiled with snmp flag after upgrade of net-snmp to version 5.2
Summary: php crashes when compiled with snmp flag after upgrade of net-snmp to version...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-31 07:13 UTC by Liviu Anghel
Modified: 2005-02-02 04:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Liviu Anghel 2005-01-31 07:13:08 UTC
After upgrade of net-snmp package to version 5.2 php (if compiled with snmp flag) gives the following error:

/usr/bin/php: symbol lookup error: /usr/bin/php: undefined symbol: usmAES192PrivProtocol

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Expected Results:  
Temporary solution:
either 'emerge -v =net-analyzer/net-snmp-5.1.1-r1' either 'USE="-snmp" emerge -v
php'

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5,
glibc-2.3.4.20040808-r1, 2.4.25 i686)
=================================================================
System uname: 2.4.25 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1,
Oct 19 2004, 10:09:49)]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.19-r1, 2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm arts avi berkdb bitmap-fonts crypt cscope cups encode erandom f77
font-server foomaticdb gdbm gif hardened imlib jpeg kde libg++ libwww mad mikmod
motif mpeg mysql ncurses nls oggvorbis opengl oss pam pic pie png python
quicktime readline sdl slang snmp ssl tcpd truetype-fonts type1-fonts xml2 xmms
xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-31 12:16:20 UTC
net-snmp broke their lib.
recompile php/mod_php/php-cgi.
Comment 2 Liviu Anghel 2005-01-31 23:36:22 UTC
i know that, but they should do something about it because it brakes peoples machines. Shouldn't someone from their side (net-snmp maintainer) comment something ?? ... like masking the package or anything else ...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-02-02 04:32:05 UTC
Liviu, I don
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-02-02 04:32:05 UTC
Liviu, I don´t really see why this should be masked. Upgrading libraries whose older versions were used before to compile other packages (like php/mod_php with USE="snmp") may cause problems. You can (and maybe should) use revdep-rebuild to check if there are any dependency problems after upgrade. 

Note that I have submitted a separate Bug 80066 because revdep-rebuild fails to detect the problem in this particular case.