Shared libraries

Dan Prener prener at watson.ibm.com
Fri Jun 28 09:37:29 AEST 1991


In article <schaf.677960266 at socrates.ucsf.edu>, schaf at socrates.ucsf.edu (Chris Schafmeister%Kollman) writes:
|> I am working on a program that uses X11R4 on the RS6000
|> and I want to distribute the program to other RS6000s without
|> having to move the X11R4 libraries with it.  When
|> I tried to link with '-bnoautoimp' the linker had a fit
|> telling me that it could not link standard library routines like
|> 'open', 'close' etc.

When you don't use the libraries, in particular libc, in shared mode
you have lost the imported symbols which came with them.  Add the option

      -bimport:/lib/syscalls.exp
-- 
                                   Dan Prener (prener @ watson.ibm.com)



More information about the Comp.unix.aix mailing list