Dynamic Loading under Solaris 2.6

From: Olaf Gellert <1gellert_at_informatik.uni-hamburg.de>
Date: Mon, 10 Nov 1997 11:32:14 +0100 (MET)

Hello!

I'm trying to run STk 3.1.1 under Solaris 2.6 (SunOS5.6) on an
Ultra-Sparc. Everything runs fine, but if I try to start the
demos (make demos), I get an error from the linker, that the
symbol "STk_nil" was undefined. That worked fine in previous
versions of solaris. In my own project when loading a shared
object,I get the error, that the symbol "STk_undefined"
was not found.

Seems that the linker doesn't find any of the symbols in
libstk.a...

Any suggestions? (More a problem with ld than with
stk...)



The exact error messages look like:

 (load "sogl.so")

 *** Error:
 Cannot open object file (ld.so.1: stk: fatal: relocation error: file
 ./sogl.so: symbol STk_undefined: referenced symbol not found): "./sogl.so"


and that's what happening when amking the demos:
 1gellert_at_rzdspc2% make demos
 /bin/sh -c "(cd Demos; ../Src/test-stk -f hbrowse README.html)"

 *** Error at line 25 of file ../Lib/hash.stk:
 Cannot open object file (ld.so.1: ../Src/stk: fatal: relocation error: file
 ../Extensions/hash.so: symbol STk_nil: referenced symbol not found):
 "../Extensions/hash.so"

Olaf Gellert
  gellert_at_informatik.uni-hamburg.de _ - __o
    Universitaet Hamburg, FB Informatik _- _`\<,_
      www.geocities.com/TheTropics/1263 - (_)/ (_)
-------------------------------------------------------------------------------
A chicken is an egg's way of making another egg. Samuel Butler
-------------------------------------------------------------------------------
Received on Mon Nov 10 1997 - 11:29:46 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST