I have built libconfig dependency in RHEL8 container but cmake is unable to detect it.
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:640 (message):
None of the required 'libconfig++' found
I can locate the object files at
STEP 11: RUN ls /usr/local/lib/
cmake
libconfig++.a
libconfig++.la
libconfig++.so
libconfig++.so.11
libconfig++.so.11.0.2
libconfig.a
libconfig.la
libconfig.so
libconfig.so.11
libconfig.so.11.0.2
pkgconfig
Linking after build is also done.
RUN git clone https://github.com/hyperrealm/libconfig.git
RUN cd libconfig && autoreconf -fi && ./configure && make && make install && ldconfig -v