GithubHelp home page GithubHelp logo

Update error: /usr/sbin/snmptrapd: symbol lookup error: /usr/sbin/snmptrapd: undefined symbol: netsnmp_mysql_init about net-snmp HOT 2 CLOSED

net-snmp avatar net-snmp commented on August 27, 2024
Update error: /usr/sbin/snmptrapd: symbol lookup error: /usr/sbin/snmptrapd: undefined symbol: netsnmp_mysql_init

from net-snmp.

Comments (2)

gessel avatar gessel commented on August 27, 2024

going through this bug: I checked

$ ldd -r -d /usr/sbin/snmptrapd
        linux-vdso.so.1 =>  (0x00007ffc57ba3000)
        libnetsnmptrapd.so.30 => /usr/local/lib/libnetsnmptrapd.so.30 (0x00007f336c3b9000)
        libnetsnmpmibs.so.30 => /usr/local/lib/libnetsnmpmibs.so.30 (0x00007f336bf4e000)
        libnetsnmpagent.so.30 => /usr/local/lib/libnetsnmpagent.so.30 (0x00007f336bceb000)
        libnetsnmp.so.30 => /usr/local/lib/libnetsnmp.so.30 (0x00007f336ba01000)
        libmysqlclient.so.18 => /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18 (0x00007f336b4c0000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f336b2a2000)
        libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f336b097000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f336acce000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f336aaca000)
        libperl.so.5.18 => /usr/lib/libperl.so.5.18 (0x00007f336a740000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f336a527000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f336a221000)
        /lib64/ld-linux-x86-64.so.2 (0x000055932ee38000)
        libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f336a006000)
        libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007f3369dcd000)
undefined symbol: netsnmp_mysql_init    (/usr/sbin/snmptrapd)
undefined symbol: snmptrapd_register_sql_configs        (/usr/sbin/snmptrapd)

from net-snmp.

gessel avatar gessel commented on August 27, 2024

Solved: remove, reinstall snmpd and then reinstall net-snmp.

Remove (per this resource):

sudo apt-get remove --purge snmpd
cd /usr/local/lib/
sudo rm libnetsnmp*
sudo apt install snmpd

Then follow the installation guide to reinstall net-snmp.

from net-snmp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.