I
Ian
I've downloaded 3rd party libraries and I'm trying to link them in
with my code but when I use -l<library name> it gives me the error
"ld: cannot find -l<lib name>". When I link the libraries explicitly
it seems to work okay, ie by entering the full address to the library
on the command line or in the makefile. I'm running on Linux, I
resolved this problem before on a solaris OS by adding the address of
the library to the LD_LIBRARY_PATH but my env in Linux didn't have
this variable and when I added it, it made no difference. I also tried
running ldconfig as root with the new library directories explicitly
named but to no avail...
Any ideas??
Thanks in advance,
Ian
with my code but when I use -l<library name> it gives me the error
"ld: cannot find -l<lib name>". When I link the libraries explicitly
it seems to work okay, ie by entering the full address to the library
on the command line or in the makefile. I'm running on Linux, I
resolved this problem before on a solaris OS by adding the address of
the library to the LD_LIBRARY_PATH but my env in Linux didn't have
this variable and when I added it, it made no difference. I also tried
running ldconfig as root with the new library directories explicitly
named but to no avail...
Any ideas??
Thanks in advance,
Ian