1

I installed a library to the /usr/local/ prefix in Linux using ./configure && make && make install. What environment variables do I need to set in order for the linker and compiler to search these new library and header paths?

1 Answer 1

0

You shouldn't need to set anything, as /usr/local is searched through by default, both for header files and libraries.

If you installed a dynamic library (.so) file, however, you might need to run sudo ldconfig to use it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .