[AGENT++] configure: error: Cannot find suitable libsnmp++ library

J.R. Heisey jrheisey at raytheon.com
Wed Nov 22 23:31:14 CET 2017


Greetings,


*         I have cleanly untar-ed both agentpp and snmp++.

*         Using CentOS on VirtualBox on Windows 7.

*         I cannot get ./configure to complete of agent++-4.0.7 and snmp++-3.3.10 as sibling folders.

*         It has been years since I knew much about autotools.

[agent++-4.0.7]$ ./configure

...

checking if libsnmp++ is wanted... yes
checking if libsnmp++ wants a prefix... no

...

checking if libsnmp++ is wanted... (cached) yes
checking if libsnmp++ wants a prefix... (cached) no
checking for snmp... no
checking if libsnmp++ is in /usr/local... no
checking if libsnmp++ is in /usr... no
configure: error: Cannot find suitable libsnmp++ library


*         I appear to have successfully installed snmp++

[snmp++-3.3.10]$ ./configure
[snmp++-3.3.10]$  sudo make install

...

libtool: install: /usr/bin/install -c .libs/libsnmp++.so.33.0.10 /usr/local/lib/libsnmp++.so.33.0.10
libtool: install: (cd /usr/local/lib && { ln -s -f libsnmp++.so.33.0.10 libsnmp++.so.33 || { rm -f libsnmp++.so.33 && ln -s libsnmp++.so.33.0.10 libsnmp++.so.33; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libsnmp++.so.33.0.10 libsnmp++.so || { rm -f libsnmp++.so && ln -s libsnmp++.so.33.0.10 libsnmp++.so; }; })
libtool: install: /usr/bin/install -c .libs/libsnmp++.lai /usr/local/lib/libsnmp++.la
libtool: install: /usr/bin/install -c .libs/libsnmp++.a /usr/local/lib/libsnmp++.a
libtool: install: chmod 644 /usr/local/lib/libsnmp++.a
libtool: install: ranlib /usr/local/lib/libsnmp++.a
libtool: finish: PATH="/sbin:/bin:/usr/sbin:/usr/bin:/sbin" ldconfig -n /usr/local/lib
ldconfig: File /usr/local/lib/libsnmp++.so.33.0.9 is empty, not checked.

I'm not certain how to diagnose this.

Thanks,
J.R. Heisey
X2949



More information about the AGENTPP mailing list