Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jun 2005 14:48:54 +0930
From:      Ian Moore <no-spam@swiftdsl.com.au>
To:        freebsd-questions@freebsd.org
Subject:   Perl problem upgrading net-snmp
Message-ID:  <200506131449.01939.no-spam@swiftdsl.com.au>

next in thread | raw e-mail | index | archive | help
--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:

<snip>
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506131449.01939.no-spam>