This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Can not link to shared libraries with LD_LIBRARY_PATH.
On 06/22/2012 03:03 PM, Helcio Wagner wrote:
> Hi, Ian. Thanks a lot for your help.
>
> Actually, I don't have neither 'libncx.so' nor 'libagt.so', just 'libncx.so.2.2' and 'libagt.so.2.2'.
>
> The only way to generate the executable was to include the absolute path to those files on gcc command line:
Normal practice is to have a symbolic link.
libncx.so -> libncx.so.2.2
Andrew.