Re: snmp compile problem on Solaris
| From: | Khaled Daham | Date: | Sun, 27 Aug 2000 07:53:43 +0000 |
| Subject: | Re: snmp compile problem on Solaris | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-30800@lists.php.net to get a copy of this message | ||
Ive got a clean compile now, seems that "./configure
--enable-internal-md5" for ucd-snmp did the trick.
On Sat, 26 Aug 2000, Khaled Daham wrote:
> Hi!
>
> This has been bugging me for some days now, and I can not see why I get
> this while compiling php-4.0.x ( the latest fromo 25 Aug ) with ucd-snmp
> 4.0.1 ( tried 4.1.1 also ) on a Solaris 7 machine.
>
> CONFIGURE: './configure' '--with-snmp=/usr/local'
> '--enable-ucd-snmp-hack'
> CC: gcc
> CFLAGS: -g -O2
> CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS
> CXX:
> CXXFLAGS:
> INCLUDES: -I$(top_builddir)/Zend
> -I$(top_srcdir) -I/usr/local/saudi/src/apache-php/php4-200008252245/ext/mysql/libmysql
> -I/usr/local/include/ucd-snmp
> LDFLAGS: -R/usr/ucblib -L/usr/ucblib -R/usr/local/lib -L/usr/local/lib
> LIBS: -lsnmp -lresolv -lresolv -lm -ldl -lcrypt -lnsl -lsocket
> -lsocket
> DLIBS:
> SAPI: cgi
> PHP_RPATHS: /usr/ucblib /usr/local/lib
> uname -a: SunOS cvs 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-5_10
>
> gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -R/usr/ucblib
> -L/usr/ucblib -R/usr/local/lib -L/usr/local/lib conftest.c -lsnmp -lresolv
> -lresolv -lm -ldl -lcrypt -lnsl -lsocket -lsocket 1>&5
> Undefined first referenced
> symbol in file
> EVP_md5 /usr/local/lib/libsnmp.so
> EVP_DigestFinal /usr/local/lib/libsnmp.so
> kstat_close /usr/local/lib/libsnmp.so
> des_cbc_encrypt /usr/local/lib/libsnmp.so
> EVP_sha1 /usr/local/lib/libsnmp.so
> EVP_DigestInit /usr/local/lib/libsnmp.so
> kstat_lookup /usr/local/lib/libsnmp.so
> kstat_read /usr/local/lib/libsnmp.so
> des_key_sched /usr/local/lib/libsnmp.so
> RAND_bytes /usr/local/lib/libsnmp.so
> des_ncbc_encrypt /usr/local/lib/libsnmp.so
> HMAC /usr/local/lib/libsnmp.so
> kstat_open /usr/local/lib/libsnmp.so
> kstat_data_lookup /usr/local/lib/libsnmp.so
> ld: fatal: Symbol referencing errors. No output written to conftest
> collect2: ld returned 1 exit status
>
> These references is not sought after when I configured and compiled on a
> FreeBSD machine ( php4.0.x and ucd-snmp 4.0.1 ), any hints ?
>
> /Khaled Daham, w.arts
> Mail: khaled@w-arts.com
> Cell: +46-70-6785492, +966-54491462
> FreeBSD: The Power to Serve! http://www.FreeBSD.org/
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
/Khaled Daham, w.arts
Mail: khaled@w-arts.com
Cell: +46-70-6785492, +966-54491462
FreeBSD: The Power to Serve! http://www.FreeBSD.org/