Subject: Re: Shared library problems
To: Hans-Christian Becker <hcb@phc.chalmers.se>
From: Bill Studenmund <wrstuden@nas.nasa.gov>
List: port-macppc
Date: 06/09/1999 10:46:21
On Wed, 9 Jun 1999 Keiki_Sunagawa@yokogawa.co.jp wrote:

> 
> Hi,
> 
> 1999/06/09 14:29:40, Hans-Christian Becker  wrote:
> 
> > Could someone comment on the following error:
> 
> > /home/hcb/src/g98-RevA.6/g98/util.so: Unsupported relocation type 10in
> > non-PLT relocations
> 
> Are you going to make a.out format executable?

Hans-Christian, check out the package system. It (especially libtool) is
good at dealing with libraries from all sorts of goofy build systems.

> > BTW, am I out of my mind, or is ldconfig missing from the 1.4 sets?
> 
> ldconfig is gone because of all PowerPC port support ELF executable only.
> Though It could be made from source, not maintained well for PowerPC
> platform.

In ELF, the info needed for ldconfig is encoded in the binary itself,
rather than in ldconfig.

Definitely check out libtool. Many NetBSD ports (alpha, pmax, macppc) used
ELF in 1.4, and a whole lot more will use ELF in 1.5 (sparc just
switched). libtool will just do the right thing.

Take care,

Bill