Reputation: 25592
g++ -o Test Test.cpp -lTest
/usr/bin/ld: cannot find -lTest
collect2: ld returned 1 exit status
If symbols from shared/dynamic libraries are loaded on-demand at runtime, why is it a fatal error for a library to be missing at compile-time?
Upvotes: 2
Views: 412
Reputation: 61389
Upvotes: 5