Upgrade to PHP4 Returns libsnmp.so Error

Support knowledgebase (leah_70_php4_apache_error)
Applies to

SuSE Linux: Version 7.0
This article refers to an older version of SuSE Linux. Therefore some of the informations given in this article may be outdated or the article may contain stale links.

Problem:

When attempting to install the new mod_php4, you receive an error saying that it requres libsnmp.so to function correctly. This error occurs even when the library can be found in /usr/lib, as installed by the snmp package. Forcing the installation of mod_php4 results in an apache error.

Cause:

This problem occurs because the incorrect libsnmp.so is installed by the snmp package for PHP4.

Solution:

Remove the snmp package using the following command:

	rpm -e snmp

Add the ucdsnmp package through YaST. It can be found in the networking series of packages.

Then mod_php4 should install corectly.

Credit:

Many thanks to Steven Hatfield, who submitted this resolution.


Keywords: PHP4, APACHE, SNMP, LIBSNMP.SO, MOD_PHP4

SDB-leah_70_php4_apache_error, Copyright SuSE Linux AG, Nürnberg, Germany - Version: 08. Nov 2000
SuSE Linux AG - Last generated: 08. Nov 2000 by leah (sdb_gen 1.40.0)