HP-UX HB v13.00 Ch-11 - Software Development
![](/manual/hp/hp-ux-11i-v3-virtual-server-operating-environment-vse-oe-ltu/hp-ux-hb-v1300-ch-11-software-development/images/img-26.png)
HP-UX Handbook – Rev 13.00 Page 26 (of 101)
Chapter 11 Software Development
October 29, 2013
exported symbols:
- printf
imported symbols:
- main (unresolved)
- shl_load (unresolved)
library list:
- libdl.so.1
exported symbols:
- printf
imported symbols:
- main (resolved)
- shl_load (unresolved)
library list:
- libdl.so.1
libc.so.1 introduces new imported symbols, e.g. main and shl_load. The former can be
resolved from HelloWorld, but the latter is not there yet. libc.so.1 has libdl.so.1 in its
shared library list so this one is loaded too:
HelloWorld:
dld.so:
HelloWorld:
exported symbols:
- main
imported symbols:
- printf (resolved)
library list:
- libc.so.1
- load libdl.so.1
- check symbol tables
- resolve matches
exported symbols:
- main
imported symbols:
- printf (resolved)
shared library list:
- libc.so.1
libc.so.1:
libc.so.1:
exported symbols:
- printf
imported symbols:
- main (resolved)
- shl_load (unresolved)
library list:
- libdl.so.1
exported symbols:
- printf
imported symbols:
- main (resolved)
- shl_load (resolved)
library list:
- libdl.so.1
libdl.so.1:
libdl.so.1:
exported symbols:
- shl_load
exported symbols:
- shl_load
libdl.so.1 contains the symbol shl_load so the reference from libc.so.1 can be resolved
now too.