Contents: [slideshow]


About this document

The Edit, Compile, Link Cycle

Linking 2

Things go wrong — required system libraries are missing at run-time!

Linking Errors
  ./a.out: error while loading shared libraries: libgfortran.so.1: 
      cannot open shared object file: No such file or directory
Dynamic Linking
   ldd /home/simonh/test_gfortran/a.out 
	libgfortran.so.1 => not found
	libm.so.6 => /lib64/libm.so.6 (0x0000003616800000)
	libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003617c00000)
	libc.so.6 => /lib64/libc.so.6 (0x0000003615800000)
	/lib64/ld-linux-x86-64.so.2 (0x0000003615400000)
  • Required system libs (.sos) are found at run-time.


...previousup (conts)next...