Overriding system libstdc

Hello,

I want to build a C++ library using a specific libstdc that is not the system one. I tried by exporting “LD_LIBRARY_PATH=<path_to_directory_containing_my_libstdc>”, but it’s ignored during the compilation.

I cannot understand why it’s ignored. Someone can help me?

Library: https://github.com/MTG/essentia

Did you solve your problem? I have the same issues.

hello,
try to set:

export LIBRARY_PATH="<path_to_directory_containing_my_libstdc>”

LD_LIBRARY_PATH is used at run time and not at compile time.

1 Like