agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Andrew K. Yu <andrew@postgres.Berkeley.EDU>
To: aataneja@cs.mtu.edu
Cc: postgres@postgres.Berkeley.EDU
Subject: Re: link failed in load of ADT file ..
Date: Tue, 28 Jun 1994 17:36:05 -0700
Message-ID: <199406290036.RAA17491@eden.CS.Berkeley.EDU> (raw)
> 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.
==============================================================================
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: andrew@postgres.Berkeley.EDU, aataneja@cs.mtu.edu
Subject: Re: link failed in load of ADT file ..
In-Reply-To: <199406290036.RAA17491@eden.CS.Berkeley.EDU>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox