170 Chapter 5
Creating and Using Libraries
Caution When Mixing Shared and Archive Libraries
Figure 5-17
Here's where the problem shows up. If you do not relink the application,
main.o, and just run a.out with the new version of lib3.sl, the
program will abort since f2() is not available in the program's address
space. The reference to f2() from f3() remains unsatisfied, generating
the 32-bit error message:
Figure 5-18
$ a.out
Illegal instruction (coredump)