Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Sep 2007 11:11:53 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Net-snmp dying with an "ld-elf" error at start on brand new FreeBSD install
Message-ID:  <fc31os$9b9$1@sea.gmane.org>
In-Reply-To: <56c7d69d0709091930t1a6202b9ieeb536f38aa379b8@mail.gmail.com>
References:  <56c7d69d0709091930t1a6202b9ieeb536f38aa379b8@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Philip B wrote:

>   Starting snmpd.
>   /libexec/ld-elf.so.1: /usr/local/sbin/snmpd: Undefined symbol
> "PL_markstack_ptr"

> I've Googled on "PL_markstack_ptr snmpd" and got back only 5 hits,
> none which seem to explain this problem at runtime.
> 
> I don't know even where to begin to dig.

It's usually symptomatic of having "stale" or otherwise incompatible 
libraries dynamically linked to new programs. One example can be trying 
to run binaries built on 7.x on a 6.x system.

I'd recommend rebuilding your application (snmpd) *and* all dependencies 
it has, e.g. "portupgrade -R snmpd".


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFG5QpaldnAQVacBcgRAwDJAJ91kpHhd6UphwcwOjgPqc93J9T0lACcCnzO
Zjjk7cHlTS2NR9oMKeERZS0=
=zj/T
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fc31os$9b9$1>