Return-Path: owner-postman
Received: from localhost (localhost [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id DAA16257 for postgres-dist; Fri, 7 Jan 1994 03:40:32 -0800
Resent-From: POSTGRES mailing list <postman@postgres.Berkeley.EDU>
Resent-Message-Id: <199401071140.DAA16257@nobozo.CS.Berkeley.EDU>
X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost didn't use HELO protocol
Sender: owner-postman@postgres.Berkeley.EDU
X-Return-Path: owner-postman
Received: from iiasa.ac.at (iiasa.iiasa.ac.at [147.125.99.60]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id DAA16248 for <postgres@postgres.berkeley.edu>; Fri, 7 Jan 1994 03:40:28 -0800
From: herb@iiasa.ac.at
Message-Id: <199401071141.AA00590@iiasa.ac.at>
Received: from eddie.iiasa.ac.at <postgres@postgres.berkeley.edu>
	by iiasa.ac.at with SMTP (5.65c/iiasa 1.6)
        id AA00590; Fri, 7 Jan 1994 12:41:33 +0100
Subject: Loading of a .o
To: postgres@postgres.Berkeley.EDU
Date: Fri, 7 Jan 1994 12:42:25 +0100 (MET)
X-Mailer: ELM [version 2.4 PL8]
Content-Type: text
Content-Length: 1203      
Resent-To: postgres-dist@postgres.Berkeley.EDU
Resent-Date: Fri, 07 Jan 94 03:40:31 -0800
Resent-XMts: smtp


On a sparc SS10 running SunOS 4.1.3

When trying to load a .o file in a postrges database (just using the sample
circle.o provided) postgres always returned the error: 'link failed'

Further investigation showed that it was trying to execute the following:

ld -N -x -A /p1acasun/toolsun/postgresv4r1.seq/bin/./postgres -T 219000 -o /usr/tmp/postgres9854  /usr/postgres/tutorial/circle.o -lc -lm -ll

Which when executed returns the error:
   ld: -ldl No such file or directory.


If I fake a libdl.a, it then complains about multiple defines in libc.a and
a bad magic number for libm.a

If I take the -lc -lm and -ll away, then circle.o is loaded without complaint
but whenever you attempt to access the routines, they never return....
(ie: if you try to append a circle from the monitor....the monitor never
seems to receive a reply).

What are we doing wrong?


---------------------------------------------------------------------------
                    Herb Hasler --- herb@iiasa.ac.at
      International Institute for Applied Systems Analysis  (IIASA)
          A-2361 Laxenburg, Austria --- +43 2236 715 21 ext 548
---------------------------------------------------------------------------
