[CentOS] Mock build php i386 from x86_64 issue

Wed Jul 7 11:44:36 UTC 2010
Rick Barnes <linux at sitevision.com>

On 07/07/2010 07:26 AM, Jason Pyeron wrote:
> checking OpenSSL dir for SNMP... no
> /usr/bin/net-snmp-config: line 43: net-snmp-config-x86_64: command not found
> /usr/bin/net-snmp-config: line 43: net-snmp-config-x86_64: command not found
> /usr/bin/net-snmp-config: line 43: net-snmp-config-x86_64: command not found
> configure: error: Could not find the required paths. Please check your net-snmp
> installation.
> error: Bad exit status from /var/tmp/rpm-tmp.66050 (%build)

Since you didn't really ask a question nor provide any further 
information, I will ask you the obvious question:

Is net-snmp-devel installed like it asks for?

$ yum whatprovides /usr/bin/net-snmp-config
Loaded plugins: fastestmirror, priorities
Reducing Extra Packages for Enterprise Linux 5 - x86_64 to included 
packages only
Finished
Excluding Packages from CentOS-5 - Extras
Finished
0 packages excluded due to repository priority protections
1:net-snmp-devel-5.3.2.2-9.el5.i386 : The development environment for 
the NET-SNMP project.
Repo        : base
Matched from:
Filename    : /usr/bin/net-snmp-config



1:net-snmp-devel-5.3.2.2-9.el5.x86_64 : The development environment for 
the NET-SNMP project.
Repo        : base
Matched from:
Filename    : /usr/bin/net-snmp-config

<snip>