Oracle® Solaris 11.2 Linkers and Libraries Guide

Exit Print View

Updated: July 2014

Using This Documentation

  • Overview – In the Oracle Solaris operating system (Oracle Solaris OS), application developers can create applications and libraries by using the link-editor ld(1), and execute these objects with the aid of the runtime linker

    The Linkers and Libraries Guide describes the operations of the Oracle Solaris link-editor and runtime linker. Special emphasis is placed on the generation and use of dynamic executables and shared objects because of their importance in a dynamic runtime environment.

    Note - This Oracle Solaris release supports systems that use the SPARC® and x86 families of processor architectures. The supported systems appear in the Oracle Solaris OS: Hardware Compatibility Lists. This document cites any implementation differences between the platform types.

      In this document, these x86 related terms mean the following:

    • x86 refers to the larger family of 64-bit and 32-bit x86 compatible products.

    • x64 relates specifically to 64-bit x86 compatible CPUs.

    • "32-bit x86" points out specific 32-bit information about x86 based systems.

  • Audience – This guide is intended for a range of programmers who are interested in the Oracle Solaris link-editor, runtime linker, and related tools, from the curious beginner to the advanced user.

    • Beginners learn the principle operations of the link-editor and runtime linker.

    • Intermediate programmers learn to create, and use, efficient custom libraries.

    • Advanced programmers, such as language-tools developers, learn how to interpret and generate object files.

    Most programmers should not need to read this manual from cover to cover.

  • Required knowledge – Readers of this guide should be familiar and be able to use the following technologies.

    • A UNIX® SVR4 system – preferably the current Oracle Solaris release.

    • The C programming language, and application development.

Product Documentation Library

Late-breaking information and known issues for this product are included in the documentation library at

Access to Oracle Support

Oracle customers have access to electronic support through My Oracle Support. For information, visit or visit if you are hearing impaired.


Provide feedback about this documentation at