Re: Solaris 10 libnetsnmp build failure
| From: | Curt Zirzow | Date: | Mon, 02 Jan 2006 19:43:25 +0000 |
| Subject: | Re: Solaris 10 libnetsnmp build failure | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-228093@lists.php.net to get a copy of this message | ||
On Fri, Dec 30, 2005 at 12:56:35AM -0800, Dean wrote:
> Posted this to php-install with no response. See:
>
> http://marc.theaimsgroup.com/?l=php-install&m=113579793423896&w=2
>
> Hi folks,
>
> I am trying to install php-4.4.1 on sparc-solaris 10, but make fails with:
>
> /bin/sh /root/tmp/php-4.4.1/libtool <90-line snip> -o sapi/cgi/php
>
> gcc: /usr/sfw/lib/sparcv9/.libs/libnetsnmp.so: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `sapi/cgi/php'
>
> My configure line is:
>
> ./configure --with-mysql --with-snmp
>
> This is almost the right place for libnetsnmp - /usr/sfw/lib, but there
> is no .libs directory.
What does this give you:
net-snmp-config --libdir
or
net-snmp-config --netsnmp-libs
It should give the path to the /usr/sfw/lib
If it does say that you could try a:
./configure --with-snmp=/usr/sfw/
Also, check the output of config.log for some errors related to
net-snmp that might help explain why php's configure choose .libs.
The .libs dir is something that is used in the compilation of the
net-snmp code, which is generaly put in $prefix/lib on a make
install, if you compiled netsnmp manually.
Curt.
--
cat .signature: No such file or directory