Reputation: 25642
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: 414
Reputation: 61467
Upvotes: 5