Net-snmp dying with an "ld-elf" error at start on brand new FreeBSD install

Ivan Voras ivoras at freebsd.org
Mon Sep 10 20:54:40 PDT 2007


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".

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070911/e2e59da0/signature.pgp


More information about the freebsd-questions mailing list