Re: snmpd (5.4) cannot open shared object file

Daniel Lacey <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Ah! Well ldconfig creates a "static" table of libraries. (read the man
page, read the man page...)

Removing 5.3.1 and remaking it gets you the same version of the
libraries (according to ldconfig).

You will have the same problem *if* you un-install 5.3.1, run ldconfig
to rebuild the *static* list of libraries, then re-install 5.3.1.

David Arthur wrote:

Thanks for the suggestions...looking into 'ldconfig' now.
BTW, my OS is SUSE Linux Enterprise Server 9.

I just wonder why I am needing to use this to get to version 5.4 (from
5.3.1). I started with 5.1.3 and removed it using RPM. I then
extracted/configured/built everything in 5.3.1 from the source tar.gz and
used the Makefile to install etc. There was no need to 'ldconfig' for that,
everything just worked.

Does the 5.4 source Makefile(s) not update the links when you install
everything, or do something differently than 5.3.1?

Thanks for the info guys!
Dave Arthur

-----Original Message-----
From: [email protected]
[ mailto:[email protected] ] On Behalf Of Dave
Shield
Sent: Saturday, January 13, 2007 7:45 AM
To: David Arthur
Cc: [email protected]
Subject: Re: snmpd (5.4) cannot open shared object file

On 12/01/07, David Arthur <[email protected]> wrote:

When I try to run snmpd (while su, in /usr/local/sbin) as:

./snmpd -m all

./snmpd: error while loading shared libraries: libnetsnmpmibs.so.15:

cannot

open shared object file: No such file or directory

Which O/S are you running on?
You may need to run something like 'ldconfig' to update the linker cache
information, so that it knows about the new libraries. See your system's
documentation for 'ld' for full details.

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.