SNMP_GENERATOR

29 views
Skip to first unread message

yesmine kessentini

unread,
Mar 31, 2020, 10:17:24 AM3/31/20
to Prometheus Users
HI ,

i have this error while writing ./generator generate 

./generator: error while loading shared libraries: libnetsnmp.so.35: cannot open shared object file: No such file or directory

 Can you help me in finding where is the issue? 

sayf eddine Hammemi

unread,
Mar 31, 2020, 12:06:35 PM3/31/20
to yesmine kessentini, Prometheus Users
This is a stackoverflow question 

╭─sayf@degla ~
╰─$ sudo apt-file search libnetsnmp.so
libsnmp-dev: /usr/lib/x86_64-linux-gnu/libnetsnmp.so
libsnmp30: /usr/lib/x86_64-linux-gnu/libnetsnmp.so.30
libsnmp30: /usr/lib/x86_64-linux-gnu/libnetsnmp.so.30.0.3

You need this package

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/13049112-2117-4c04-840d-a6dd5f3edf49%40googlegroups.com.

yesmine kessentini

unread,
Mar 31, 2020, 1:42:31 PM3/31/20
to sayf eddine Hammemi, Prometheus Users
thanks ,

but i have already this package ,
/usr/lib/libnetsnmp.so.35
/usr/lib/libnetsnmp.so.30
/usr/lib/libnetsnmp.so.30.0.3
/usr/lib64/libnetsnmp.so.31
/usr/lib64/libnetsnmp.so.31.0.2
/usr/lib64/libnetsnmp.so
/usr/local/lib/libnetsnmp.so.35.0.0
/usr/local/lib/libnetsnmp.so.35
/usr/local/lib/libnetsnmp.so



yesmine kessentini

unread,
Mar 31, 2020, 1:45:31 PM3/31/20
to sayf eddine Hammemi, Prometheus Users
but when writing this command : which generator 
the response is :
/usr/bin/which: no generator in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/usr/local/go/bin)

sayf eddine Hammemi

unread,
Apr 1, 2020, 2:12:09 AM4/1/20
to yesmine kessentini, Prometheus Users
Oh ! did you build the project? make sure to cd to the folder containing the binary or add it to you $PATH

Reply all
Reply to author
Forward
0 new messages