- 20 April 2006
- 22.682
- 1.316
Moin.
Weiß einer, wieso der Linker ne Bibliothek nicht finden kann, wenn ich statisch linken will:
LD_LIBRARY_PATH, LIBRARY_PATH und CPATH sind entsprechend gesetzt.
Weiß einer, wieso der Linker ne Bibliothek nicht finden kann, wenn ich statisch linken will:
Code:
[FONT=Lucida Console]theHacker@kubuntu:~/akss/tbb$ g++ -Wall -ltbb -o pi-tbb pi-tbb.c
theHacker@kubuntu:~/akss/tbb$ g++ -Wall -static -ltbb -o pi-tbb pi-tbb.c
/usr/bin/ld: cannot find -ltbb
collect2: ld gab 1 als Ende-Status zurück[/FONT]