Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bywater!arnor!prener!prener From: prener@watson.ibm.com (Dan Prener) Newsgroups: comp.unix.aix Subject: Re: Shared libraries Keywords: shared libraries Message-ID: <1991Jun27.233729.25516@watson.ibm.com> Date: 27 Jun 91 23:37:29 GMT References: Sender: news@watson.ibm.com (NNTP News Poster) Reply-To: prener@prener.watson.ibm.com (Dan Prener) Distribution: comp Organization: IBM T.J. Watson Research Center Lines: 14 Nntp-Posting-Host: prener In article , schaf@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)