upgrading net-snmp-5.2.1 gives error
Ian Moore
no-spam at swiftdsl.com.au
Sat Apr 30 17:13:51 PDT 2005
On Monday 28 March 2005 08:01, gustaaf wijnands wrote:
> Thomas Foster wrote:
> > Does it compile WITH_PERL="NO" ?
>
> It doesn't compile WITHOUT_PERL=yes
>
> > what version of autoconf and libtool are you using?
>
> pkg_info |grep autoconf
> autoconf-2.13.000227_5 Automatically configure source code on many Un*x
> platforms
> autoconf-2.59_2 Automatically configure source code on many Un*x
> platforms
>
> pkg_info |grep libtool
> libtool-1.3.5_2 Generic shared library support script (version 1.3)
> libtool-1.5.10_1 Generic shared library support script (version 1.5)
>
> > and perl -v returns what version?
>
> perl -v
>
> This is perl, v5.8.6 built for i386-freebsd-64int
>
> perl -V
> Summary of my perl5 (revision 5 version 8 subversion 6) configuration:
> Platform:
> osname=freebsd, osvers=5.3-release-p5, archname=i386-freebsd-64int
> uname='freebsd laptop.intern 5.3-release-p5 freebsd 5.3-release-p5
> #7: wed ja
> n 26 21:10:23 cet 2005
> a at laptop.intern:usrobjusrsrcsysmykernel i386 '
> config_args='-sde -Dprefix=/usr/local
> -Darchlib=/usr/local/lib/perl5/5.8.6/mach
> -Dprivlib=/usr/local/lib/perl5/5.8.6
> -Dman3dir=/usr/local/lib/perl5/5.8.6/perl
> /man/man3
> -Dman1dir=/usr/local/man/man1 -Dsitearch=/usr/local/lib/perl5/site_perl
>
> /5.8.6/mach -Dsitelib=/usr/local/lib/perl5/site_perl/5.8.6
> -Dscriptdir=/usr/local
> /bin
> -Dsiteman3dir=/usr/local/lib/perl5/5.8.6/man/man3
> -Dsiteman1dir=/usr/local/m
> an/man1 -Ui_malloc -Ui_iconv
> -Uinstallusrbinperl -Dcc=cc -Doptimize=-O -pipe -Du
>
> seshrplib -Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN"
> -Ud_dosuid
> -Ui_gdbm -Dusethreads=n -Dusemymalloc=y
> -Duse64bitint'
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=undef use5005threads=undef useithreads=undef
> usemultiplicity=undef
> useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
> use64bitint=define use64bitall=undef uselongdouble=undef
> usemymalloc=y, bincompat5005=undef
> Compiler:
> cc='cc', ccflags
> ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN" -DHAS_FP
>
> SETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
> -I/usr/local/include',
> optimize='-O -pipe ',
> cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.6/BSDPAN"
> -DHAS_FPSETMASK -
> DHAS_FLOATINGPOINT_H -fno-strict-aliasing
> -pipe -I/usr/local/include'
> ccversion='', gccversion='3.4.2 [FreeBSD] 20040728', gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
> ivtype='long long', ivsize=8, nvtype='double', nvsize=8,
> Off_t='off_t', lseek
> size=8
> alignbytes=4, prototype=define
> Linker and Libraries:
> ld='cc', ldflags =' -Wl,-E -L/usr/local/lib'
> libpth=/usr/lib /usr/local/lib
> libs=-lm -lcrypt -lutil
> perllibs=-lm -lcrypt -lutil
> libc=, so=so, useshrplib=true, libperl=libperl.so
> gnulibc_version=''
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
> -Wl,-R/usr/local/
> lib/perl5/5.8.6/mach/CORE'
> cccdlflags='-DPIC -fPIC', lddlflags='-shared -L/usr/local/lib'
>
>
> Characteristics of this binary (from libperl):
> Compile-time options: USE_64_BIT_INT USE_LARGE_FILES
> Locally applied patches:
> SUIDPERLIO0 - fix PERLIO_DEBUG local root exploit (CAN-2005-0155)
> SUIDPERLIO1 - fix PERLIO_DEBUG buffer overflow (CAN-2005-0156)
> Built under freebsd
> Compiled at Feb 6 2005 20:47:58
> @INC:
> /usr/local/lib/perl5/site_perl/5.8.6/mach
> /usr/local/lib/perl5/site_perl/5.8.6
> /usr/local/lib/perl5/site_perl/5.8.5
> /usr/local/lib/perl5/site_perl/5.6.1
> /usr/local/lib/perl5/site_perl
> /usr/local/lib/perl5/5.8.6/BSDPAN
> /usr/local/lib/perl5/5.8.6/mach
> /usr/local/lib/perl5/5.8.6
> .
>
> > what happens after running ldconfig -R
>
> still the same error. Any idea? Thank for helping me
Hi Gustaaf,
I'm having exactly the same problem upgrading net-snmp as you. Have you
managed to fix the problem yet?
My system is pretty much identical to your's, except for autoconf:
%pkg_info | grep autoconf
autoconf-2.13.000227_5 Automatically configure source code on many Un*x
platforms
autoconf-2.53_3 Automatically configure source code on many Un*x platforms
autoconf-2.59_2 Automatically configure source code on many Un*x platforms
Here's the output when I try to build it without perl:
daemon:/usr/ports/net-mgmt/net-snmp % sudo make -DWITHOUT_PERL="YES"
===> Building for net-snmp-5.2.1_2
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/snmplib
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/agent
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/agent/helpers
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/agent/mibgroup
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/apps
making all
in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/apps/snmpnetstat
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/man
test -d ./CVS && perl ./mib2c.extract.pl ../local/mib2c ./mib2c.conf.5.in >
mib2c.conf.5
*** Error code 1 (ignored)
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/local
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/mibs
Warning: -L../../snmplib/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/default_store/../../snmplib/.libs
Warning: -L../../snmplib/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/default_store/../../snmplib/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Writing Makefile for NetSNMP::default_store
Warning: -L../../snmplib/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/ASN/../../snmplib/.libs
Warning: -L../../snmplib/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/ASN/../../snmplib/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Writing Makefile for NetSNMP::ASN
Warning: -L../../snmplib/.libs changed todaemon:/usr/ports/net-mgmt/net-snmp %
sudo make -DWITHOUT_PERL="YES"
===> Building for net-snmp-5.2.1_2
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/snmplib
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/agent
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/agent/helpers
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/agent/mibgroup
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/apps
making all
in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/apps/snmpnetstat
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/man
test -d ./CVS && perl ./mib2c.extract.pl ../local/mib2c ./mib2c.conf.5.in >
mib2c.conf.5
*** Error code 1 (ignored)
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/local
making all in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/mibs
Warning: -L../../snmplib/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/default_store/../../snmplib/.libs
Warning: -L../../snmplib/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/default_store/../../snmplib/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Writing Makefile for NetSNMP::default_store
Warning: -L../../snmplib/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/ASN/../../snmplib/.libs
Warning: -L../../snmplib/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/ASN/../../snmplib/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Writing Makefile for NetSNMP::ASN
Warning: -L../../snmplib/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/OID/../../snmplib/.libs
Warning: -L../../snmplib/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/OID/../../snmplib/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Writing Makefile for NetSNMP::OID
Warning: -L../../snmplib/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../snmplib/.libs
Warning: -L../../snmplib/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../snmplib/
Warning: -L../../agent/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent/.libs
Warning: -L../../agent/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent/
Warning: -L../../agent/helpers/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent/helpers/.libs
Warning: -L../../agent/helpers/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent/helpers/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Unrecognized argument in LIBS ignored: '-Wl,-E'
Unrecognized argument in LIBS ignored:
'/usr/local/lib/perl5/5.8.6/mach/auto/DynaLoader/DynaLoader.a'
Warning: -L../../../snmplib/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/default_store/../../../snmplib/.libs
Warning: -L../../../snmplib/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/default_store/../../../snmplib/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Writing Makefile for NetSNMP::agent::default_store
Writing Makefile for NetSNMP::agent
Warning: -L../../snmplib/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/SNMP/../../snmplib/.libs
Warning: -L../../snmplib/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/SNMP/../../snmplib/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Writing Makefile for SNMP
Checking if your kit is complete...
Looks good
/libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/SNMP/SNMP.so:
Undefined symbol "perl_get_sv"
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp.
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/OID/../../snmplib/.libs
Warning: -L../../snmplib/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/OID/../../snmplib/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Writing Makefile for NetSNMP::OID
Warning: -L../../snmplib/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../snmplib/.libs
Warning: -L../../snmplib/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../snmplib/
Warning: -L../../agent/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent/.libs
Warning: -L../../agent/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent/
Warning: -L../../agent/helpers/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent/helpers/.libs
Warning: -L../../agent/helpers/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent/helpers/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Unrecognized argument in LIBS ignored: '-Wl,-E'
Unrecognized argument in LIBS ignored:
'/usr/local/lib/perl5/5.8.6/mach/auto/DynaLoader/DynaLoader.a'
Warning: -L../../../snmplib/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/default_store/../../../snmplib/.libs
Warning: -L../../../snmplib/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/default_store/../../../snmplib/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Writing Makefile for NetSNMP::agent::default_store
Writing Makefile for NetSNMP::agent
Warning: -L../../snmplib/.libs changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/SNMP/../../snmplib/.libs
Warning: -L../../snmplib/ changed to
-L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/SNMP/../../snmplib/
Unrecognized argument in LIBS ignored: '-rpath=/usr/local/lib'
Writing Makefile for SNMP
Checking if your kit is complete...
Looks good
/libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.6/mach/auto/SNMP/SNMP.so:
Undefined symbol "perl_get_sv"
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1.
*** Error code 1
Stop in /usr/ports/net-mgmt/net-snmp.
Cheers,
--
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050501/76a39961/attachment-0001.bin
More information about the freebsd-questions
mailing list