Hi!

I am currently upgrading OpenPKG from 1.2 to 1.3 and I stumbled over a build error in snmp-5.0.8-1.3.0 on my Sol8 maschine

<--snip -->
/bin/sh ../libtool --silent --mode=link /opt/ic3s/bin/cc -I/opt/ic3s/include/rpm -O2 -pipe -Dsolaris
2 -I/opt/ic3s/include/rpm -o snmpd snmpd.lo -L/opt/ic3s/lib -L/opt/ic3s/lib -L/opt/ic3s/lib libne
tsnmpagent.la libnetsnmpmibs.la helpers/libnetsnmphelpers.la ../snmplib/libnetsnmp.la -ldl -lkvm -l
rpm -lrpmio -lrpmpopt -lrpmbz2 -lrpmz -lrpmio -lrpmpopt -lrpmbz2 -lrpmz -lrpmpopt -lbz2 -lcrypto -l
kstat -lelf -lm -lfsl -lsocket -lnsl -ladm
/opt/ic3s/lib/librpmio.a(stubs.o)(.text+0x3e4): In function `setenv':
: multiple definition of `setenv'
../snmplib/.libs/libnetsnmp.a(system.o)(.text+0x1f8): first defined here
/opt/ic3s/bin/ld: Warning: size of symbol `setenv' changed from 124 in /opt/ic3s/lib/librpmio.a(stub
s.o) to 56 in /opt/ic3s/lib/librpmio.a(stubs.o)
/opt/ic3s/lib/librpm.a(db3.o)(.text+0x54): In function `cvtdberr':
: undefined reference to `db_strerror'
/opt/ic3s/lib/librpm.a(db3.o)(.text+0x94): In function `cvtdberr':
: undefined reference to `db_strerror'
/opt/ic3s/lib/librpm.a(db3.o)(.text+0x1d0): In function `db_fini':
: undefined reference to `db_env_create'
/opt/ic3s/lib/librpm.a(db3.o)(.text+0x3a4): In function `db_init':
: undefined reference to `db_env_create'
/opt/ic3s/lib/librpm.a(db3.o)(.text+0x588): In function `db_init':
: undefined reference to `db_env_set_func_fsync'
/opt/ic3s/lib/librpm.a(db3.o)(.text+0x1548): In function `db3open':
: undefined reference to `db_create'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make: *** [subdirs] Error 1
error: Bad exit status from /opt/ic3s/RPM/TMP/rpm-tmp.30052 (%build)



RPM build errors: Bad exit status from /opt/ic3s/RPM/TMP/rpm-tmp.30052 (%build)

<--snop -->

I think the build process is missing the rpmdb libs, but I have no glue where to add them...

--


______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List [EMAIL PROTECTED]

Reply via email to