From owner-freebsd-questions@FreeBSD.ORG Mon Jun 13 05:19:06 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9249516A41C for ; Mon, 13 Jun 2005 05:19:06 +0000 (GMT) (envelope-from no-spam@swiftdsl.com.au) Received: from smtp.ade.swiftdsl.com.au (smtp.ade.swiftdsl.com.au [218.214.228.98]) by mx1.FreeBSD.org (Postfix) with SMTP id D2F8B43D49 for ; Mon, 13 Jun 2005 05:19:05 +0000 (GMT) (envelope-from no-spam@swiftdsl.com.au) Received: (qmail 4291 invoked from network); 13 Jun 2005 05:19:05 -0000 Received: from unknown (HELO daemon.foo.lan) (218.214.176.70) by smtp.ade.swiftdsl.com.au with SMTP; 13 Jun 2005 05:19:05 -0000 From: Ian Moore To: freebsd-questions@freebsd.org Date: Mon, 13 Jun 2005 14:48:54 +0930 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1310792.D6xtVmcZjb"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200506131449.01939.no-spam@swiftdsl.com.au> Subject: Perl problem upgrading net-snmp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2005 05:19:06 -0000 --nextPart1310792.D6xtVmcZjb Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I'm trying to upgrade net-mgmt/net-snmp-5.2.1_1 to=20 net-mgmt/net-snmp-5.2.1_2 I'm running 5.4p2 on this machine, which started life as 5.2.1-RELEASE & ha= s=20 been tracking 5.3-RELEASE & now 5.4-RELEASE. My perl version is 5.8.6 I update my ports tree every night and update my installed ports at least o= nce=20 a week. I've had this build problem with net-snmp ever since it was update= d=20 to 5.2.1_2, but I've only just got around to trying to solve the problem. The build output is very long, so I've only pasted the last bit below - I c= an=20 post the whole thing if required though. I assume it's a perl problem and have tried googling for a solution. I foun= d=20 some stuff about the Undefined symbol "perl_get_sv" error, but haven't foun= d=20 anything that's helped me fix it so far. A possible solution I thought might be to pkg_delete perl, delete everythi= ng=20 in /usr/local/lib/perl and then rebuild perl. Or is that not a good idea? Here's the net-snmp build output: Checking if your kit is complete... Looks good Warning: -L../../snmplib/.libs changed to=20 =2DL/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../snmpl= ib/.libs Warning: -L../../snmplib/ changed to=20 =2DL/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../snmpl= ib/ Warning: -L../../agent/.libs changed to=20 =2DL/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent= /.libs Warning: -L../../agent/ changed to=20 =2DL/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent/ Warning: -L../../agent/helpers/.libs changed to=20 =2DL/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent= /helpers/.libs Warning: -L../../agent/helpers/ changed to=20 =2DL/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/../../agent= /helpers/ Unrecognized argument in LIBS ignored: '-rpath=3D/usr/local/lib' Unrecognized argument in LIBS ignored: '-Wl,-E' Unrecognized argument in LIBS ignored:=20 '/usr/local/lib/perl5/5.8.6/mach/auto/DynaLoader/DynaLoader.a' Warning: -L../../../snmplib/.libs changed to -L/usr/ports/net-mgmt/Undefine= d=20 symbol=20 "perl_get_sv"net-snmp/work/net-snmp-5.2.1/perl/agent/default_store/../../..= /snmplib/.libs Warning: -L../../../snmplib/ changed to=20 =2DL/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/agent/default_sto= re/../../../snmplib/ Unrecognized argument in LIBS ignored: '-rpath=3D/usr/local/lib' Writing Makefile for NetSNMP::agent::default_store Writing Makefile for NetSNMP::agent Checking if your kit is complete... Looks good Warning: -L../../snmplib/.libs changed to=20 =2DL/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/SNMP/../../snmpli= b/.libs Warning: -L../../snmplib/ changed to=20 =2DL/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.2.1/perl/SNMP/../../snmpli= b/ Unrecognized argument in LIBS ignored: '-rpath=3D/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/S= NMP.so:=20 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. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade39989.= 0=20 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! net-mgmt/net-snmp (net-snmp-5.2.1_1) (new compiler error) =2D--> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed Cheers, =2D-=20 Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc --nextPart1310792.D6xtVmcZjb Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQBCrRdFPUlnmbKkJ6ARAvCKAKCI0XF9/N7CFDeD3U/60dUoMs5K7wCfY6UA VA0yrseDiYOTgNB5R3QWXw0= =eSri -----END PGP SIGNATURE----- --nextPart1310792.D6xtVmcZjb--