Problem with library path

Mirek Marciniszyn M.Marciniszyn@alatek.com.pl
Thu Apr 26 06:36:00 GMT 2001


Hello,
 
I have a problem:
During compilation simply source file a get 
the message:
ld: fatal: file crt1.o: cannot open file: No 
such file or directory.
 
Under Solaris 8 i have installed a binary 
package. Normally it is installed to: /usr/local/bin and library to: 
/usr/local/lib/gcc-lib/....
But I must use it from another location, such 
as: /cd/ - there is my directory. So, in this directory I have created a 
subdirectory "bin" and "lib". Moreover, I have selected these env. 
PATH=/cd/bin:/cd/lib
LD_LIBRARY_PATH=/cd/lib
 
It doesn't work. Why ? What's wrong ?
Thanks for You help.
 
Best Regards,
Mirek Marciniszyn.



More information about the Gcc mailing list