You can set LD_LIBRARY_PATH to confirm that adding /usr/local/lib to the library search path solves the problem but you may want to use other methods once you have completed your test.
For reasons not to use LD_LIBRARY_PATH, you might read http://xahlee.org/UnixResource_dir/_/ldpath.html. For more information on the issue and alternatives to setting LD_LIBRARY_PATH you might also read http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html and http://prefetch.net/articles/linkers.badldlibrary.html.
In reply to Re: Inline::C external library linking problem
by ig
in thread Inline::C external library linking problem
by whakka
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |