Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with SMTP id RAA27245 for postgres-redist; Tue, 28 Jun 1994 17:36:04 -0700 Resent-From: POSTGRES mailing list Resent-Message-Id: <199406290036.RAA27245@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from eden.CS.Berkeley.EDU (eden.CS.Berkeley.EDU [128.32.149.4]) by nobozo.CS.Berkeley.EDU (8.6.4/8.6.3) with ESMTP id RAA27235 for ; Tue, 28 Jun 1994 17:36:04 -0700 Received: from localhost (andrew@localhost) by eden.CS.Berkeley.EDU (8.6.4/8.1B) id RAA17491; Tue, 28 Jun 1994 17:36:05 -0700 Date: Tue, 28 Jun 1994 17:36:05 -0700 From: "Andrew K. Yu" Message-Id: <199406290036.RAA17491@eden.CS.Berkeley.EDU> To: aataneja@cs.mtu.edu Subject: Re: link failed in load of ADT file .. Cc: postgres@postgres.Berkeley.EDU Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Tue, 28 Jun 94 17:36:04 -0700 Resent-XMts: smtp > I wonder if having substantially large code for input & output > functions for a defined data type emp_DT (just like circle) > causes problems ...?? shouldn't. I've seen object files of sizes in megabyte range being loaded in successfully. > WARN:Jun 28 18:36:45:Load of file /resrch2/postgres/bruce/emp.o failed: link fai Without info on the version of postgres and the platform you're running on, I can't tell you much except the following general observations: 1. Top causes for failure: - object file cannot be opened because the postgres backend does not have access to or permission on the file. (You'll get a "stat failed" instead of "link failed" message, however.) - object file not compiled correctly (eg. need -c and/or special options for a specific platform) - object file contain symbols defined in postgres backend already (on version 4.2/Ultrix, you get a "multiply defined" message) - /tmp does not have enough space for the intermediate relocated object (for versions <= 4.1) - you had a bad day 2. If you're still using version 4.1 or early, I'd strongly recommend you upgrade to version 4.2 since the dynamic loading mechanism has been revamped. (And I haven't heard any complaint about it not working on 4.2, yet!) In 4.2, the dynamic loader uses the OS's native dynamic loading/share library facilities except for Ultrix (which uses my dynamic loading package). -andrew ============================================================================== To add/remove yourself to/from the POSTGRES mailing list: send mail with the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU" If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and a human will deal with it. DO NOT post to the "postgres" mailing list. ==============================================================================