Hello,
I'm trying to solve a problem that occurs during a software installation; I'm a linux beginner so I kindly ask your help.
In particular, the software installation stops with the following message:
"checking for config_init in -lconfig... no
configure: error: cannot find libconfig"
I have already submitted the problem to the software's developer who told me that the problem could be in my environment setup, because the software has been successfully installed on the same environment.
Here are the checks I was able to do:
- "locate libconfig" finds "libconfig.so" files: these are symbolic links to "libconfig.so.11.0.0" or "libconfig.so.11.0.2";
- in "ldconfig -v" output there's no "libconfig.so", but there are "libconfig.so.11" files, linked to "libconfig.so.11.0.0" and "libconfig.so.11.0.2";
- LD_LIBRARY_PATH is empty.
Please find below "locate" and "ldconfig" output.
Thank you in advance for your help.
Alberto
--------
linux-s6da:~ # locate libconfig.so
/usr/lib/libconfig.so.11
/usr/lib/libconfig.so.11.0.0
/usr/lib/libconfig-1.7.2/lib/.libs/libconfig.so
/usr/lib/libconfig-1.7.2/lib/.libs/libconfig.so.11
/usr/lib/libconfig-1.7.2/lib/.libs/libconfig.so.11.0.2
/usr/lib64/libconfig.so
/usr/lib64/libconfig.so.11
/usr/lib64/libconfig.so.11.0.0
/usr/local/lib64/libconfig.so
/usr/local/lib64/libconfig.so.11
/usr/local/lib64/libconfig.so.11.0.2
--------
--------
linux-s6da:~ # ls -l /usr/lib64/libconfig.so
lrwxrwxrwx 1 root root 19 Dec 17 2018 /usr/lib64/libconfig.so -> libconfig.so.11.0.0
--------
--------
linux-s6da:/home # ldconfig -p | grep libconfig
libconfig.so.11 (libc6,x86-64) => /usr/local/lib64/libconfig.so.11
libconfig.so.11 (libc6,x86-64) => /usr/lib/libconfig-1.7.2/lib/.libs/libconfig.so.11
libconfig.so.11 (libc6,x86-64) => /usr/lib64/libconfig.so.11
libconfig.so.11 (libc6) => /usr/lib/libconfig.so.11
libconfig.so (libc6,x86-64) => /usr/local/lib64/libconfig.so
libconfig.so (libc6,x86-64) => /usr/lib/libconfig-1.7.2/lib/.libs/libconfig.so
libconfig.so (libc6,x86-64) => /usr/lib64/libconfig.so
libconfig.so (libc6) => /usr/lib/libconfig.so
libconfig++.so.11 (libc6,x86-64) => /usr/local/lib64/libconfig++.so.11
libconfig++.so.11 (libc6,x86-64) => /usr/lib/libconfig-1.7.2/lib/.libs/libconfig++.so.11
libconfig++.so.11 (libc6,x86-64) => /usr/lib64/libconfig++.so.11
libconfig++.so.11 (libc6) => /usr/lib/libconfig++.so.11
libconfig++.so (libc6,x86-64) => /usr/local/lib64/libconfig++.so
libconfig++.so (libc6,x86-64) => /usr/lib/libconfig-1.7.2/lib/.libs/libconfig++.so
libconfig++.so (libc6,x86-64) => /usr/lib64/libconfig++.so
--------