I'm trying to build a project that depends on binary distributed static libraries.
The linker complains it cannot find ini_config functions, among others:
config_params.c:(.text+0x16f): undefined reference to `ini_get_config_valueobj'
It finds the dynamic libraries, but not the static version:
attempt to open /usr/lib/gcc/x86_64-linux-gnu/7/libini_config.a failed
attempt to open /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libini_config.so succeeded
Those files are present on debian stretch. Is there a way to get them on ubuntu as well ?
/usr/lib/x86_64-linux-gnu/libini_config.athan where it is looking... you will probably need to make surelibini-config-devis installed and then include/usr/lib/x86_64-linux-gnuwhen compiling. – SudoSURoot Jul 05 '18 at 15:11/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/and finds the.so, how can I change that? – stamm Jul 05 '18 at 15:24-ldlwith-l:libdl.a. – stamm Jul 05 '18 at 15:31