There is no such link, Andrew. How can I generate it? Best regards. --------------------------------------------- HELCIO WAGNER DA SILVA ----- Mensagem original ----- De: Andrew Haley <aph@xxxxxxxxxx> Para: gcc-help@xxxxxxxxxxx Cc: Enviadas: Sexta-feira, 22 de Junho de 2012 11:27 Assunto: 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.