[comp.unix.aix] Confused about shared libraries

cwc@SSESCO.com (Craig W. Carlson) (05/18/91)

Can anyone give me information about shared libraries under AIX 3.1 (3.1.5)?

Specifically, which libraries are shared, and how you turn off shared libraries.
I've tried some of the suggestions I've seen in this group using
"-bnso -bimport:/lib/syscalls.exp" on the load line, but some symbols turn up
as undefined (i.e. most of the gl symbols and some FORTRAN).

We have an application which uses gl, motif, and a little bit of FORTRAN and
would like to be able to create a demo version that can run regardless of the
state of the installed libraries.  Especially the FORTRAN libraries where you
have a choice of either xlf version 1 or 2.

marc@watson.ibm.com (Marc Auslander) (05/21/91)

When you turn off shared libs, you must include (-L) all the libraries
needed, including those used indirectly by the shared libs you are now
including.  So start adding libraries to the list.
--


Marc Auslander       <marc@watson.ibm.com>