Skip to main content

Creating shared libraries on AIX

The sample program demonstrates how to build a shared library in the IBM AIX® operating system. A sample shared library and executable is built that demonstrates how to load, unload and call functions at run time dynamically from an executable. In addition, a makefile is provided that illustrates the proper command-line arguments to build a shared library and the accompanying executable.

Requirements

Download

Note: IBM does not want to receive confidential or proprietary information from you. Please note that any information or material sent to IBM will be deemed NOT to be confidential. By sending IBM any information or material, you grant IBM an unrestricted, royalty-free, irrevocable license to use, reproduce, display, perform, modify, transmit and distribute those materials or information, and you also agree that IBM is free to use any ideas, concepts, know-how or techniques that you send us for any purpose.

About the author(s)

Artis Walker is a consultant in the IBM Business Strategy and Enablement group. He provides assistance in porting software vendors’ applications and databases to IBM System p servers running AIX and Linux® on the IBM POWER platform. He has more than 16 years’ experience working on both Microsoft® Windows® and UNIX® platforms, including AIX and Sun Solaris of which six have been as an IBM Porting Engineer. He has extensive software development experience in IBM DB2® Universal Database (DB2 UDB), Oracle, ODBC, JDBC, C, C++, and Java technology. He has published numerous tutorials and articles on migration and performance tuning on AIX and DB2. In addition, he is the originator and main author of a series of articles titled “IBM Embraces Open Source,” which highlights various open-source solutions and their operability and setup on AIX and Linux on the POWER platform. He is the co-author of the book titled Unix to Linux Porting: A Comprehensive Reference. He holds a BA in computer science from St. Mary’s University in San Antonio, Texas. He can be reached at walkerar@us.ibm.com.

Live Chat is currently unavailable


The Live Chat service is usually available during normal business hours. Use the \"Contact us\" email link to send us an email now.