Problem using dynamic linking

From: Thomas Buerger <buerger_at_iaa.tu-clausthal.de>
Date: Sat, 28 Oct 1995 10:52:22 +0100 (MET)

Hello STk-Fans,

I'm using STk-3.0b1 under Linux-1.0.9 with dynamic linking (dld-3.2.7).
It works for most but not all packages. It does not work for the
socket-package (neither a package of my own which uses also the sockets):

> stk -f /usr/local/lib/stk/3.0b1/STk/socket.stk
dld: cannot link: multiple definitions of symbol: __IO_default_seekoff
dld: function STk_init_socket not executable!
Unresolved symbols are:
        _dup
        _bind
        _accept
        _shutdown
        _getsockname
        _socket
        _listen
        _gethostbyname
        _connect
        _fdopen

*** Error at line 25 of file /usr/local/lib/stk/3.0b1/STk/socket.stk:
dld: link aborted
STk> Bye.

When I'm looking for the multiple defined symbol in the packages, I
cannot find it:

> nm /usr/local/lib/stk/3.0b1/Linux-1.X-ix86/socket.so | grep '__IO_default_seekoff'
>

BTW a cross-check of all Symbols in stk-bin and the socket.so files using "nm",
"sort", "uniq", "join" etc. does not show any symbol defined in multiple files.

Who can explain (and/or patch) this mysterious error?
                                        Thomas
-- 
**************************************************************************** 
INSTITUT FUER APPARATEBAU UND ANLAGENTECHNIK      Dipl.-Ing. Thomas Buerger
     TECHNISCHE UNIVERSITAET CLAUSTHAL            Tel.: (49)5323/72-2671
                Zellbach 5                        Fax.: (49)5323/72-2942
       D-38678 Clausthal-Z. (Germany)             
Schwerpunkt: Einsatz der Nahbereichsphotogrammetrie im Anlagenbau.
    Project: Application of close-range-photogrammetry in plant engineering.
*************************************************** FIAT LinUX ;-) *********
Received on Mon Oct 30 1995 - 17:27:20 CET

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