Subject: Linker: ok; ld.so: undefined symbol
To: None <port-amiga@netbsd.org>
From: Ingolf Koch <ingolf@jellonet.de>
List: port-amiga
Date: 07/23/2000 00:18:33
Hi,

on NetBSD-1.5_ALPHA/amiga it is possible to successfully
link object files with shared libraries but then get
"undefined symbol" errors by ld.so, e.g.

% lyx
/usr/libexec/ld.so: Undefined symbol "_glXMakeCurrent" in lyx:/usr/X11R6/lib/libforms.so.0.88

"ldd `which lyx`" does not list libGL.so. I thought that
the _linker_ should have detected that _glXMakeCurrent is
missing and should not have produced an executable ins this
case. Am I wrong?

All libaries as well as the lyx program were compiled on
the very same machine. I think that I had seen a similar
problem on pre-1.5 (again on Amiga).

    Ingolf
-- 

Ingolf Koch     ICQ#60829470     Beste Kneipe in Jena-Ost
PGP: 0x7B3B5661  213C 828E 0C92 16B5  05D0 4D5B A324 EC04