Subject: Re: Compiling under 1.5 - "Shared object has no run-time symbol table"
To: None <port-sparc@NetBSD.ORG>
From: None <eeh@netbsd.org>
List: port-sparc
Date: 01/30/2001 16:34:57
Everything I try to compile under NetBSD/SPARC64 1.5 (save for kernels)
results in:
netbsd4me# helloworld
helloworld: Shared object has no run-time symbol table
netbsd4me# file helloworld
helloworld: ELF 64-bit MSB executable, SPARC V9, version 1, dynamically linked
(uses shared libs), not stripped
netbsd4me# ldd helloworld
helloworld:
-lc.12 => /usr/lib/libc.so.12
Is this caused by the "broken ld" that Simon Gerraty (I think) alluded to
a few days ago? If so, how can I cure it? Build a -current "ld"?
Rebuild a 1.5 "ld" from scratch?
There is a patch for 1.5 `ld' on nbftp in the patches directory.
Or you could grab a toolchain snapshot.
Or you could try building it yourself.
The patch is easiest.
Eduardo