Link pb with acml

Hi all !

1 ) When I link my prog with -L/RepOfPgi/lib -lacml
I get this message :
“/usr/bin/ld: warning: libpgc.so, needed by /Produits/publics/x86_64.Linux.2.6.9/acml/3.1.0/pgi64/lib/libacml.so, not found (try using -rpath or -rpath-link)” and libpgc.so is present in libso rep.

but when I link with:
/RepOfPgi/lib/libacml.a
All is working fine.

Is the pb come from my installation of pgi ?
Thanks, Pierre.

It’s OK, the pb come from the installation.
I forgot to add libso rep to LD_LIBRATY_PATH