Int64GetDatum

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Int64GetDatum
Date: 2010-04-16 02:32:30
Message-ID: 4BC7CC3E.2090204@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have compiled some C (pljava.c) for solaris sparc 64 bit, setup the
LD_LIBRARY_PATH so postgres can find it, and try and load it.

me=# CREATE FUNCTION sqlj.java_call_handler() RETURNS language_handler
AS 'pljava' LANGUAGE C;
ERROR: could not load library "/opt/mystuff/pljava/pljava.so": ld.so.1:
postgres: fatal: relocation error: file /opt/mystuff/pljava/pljava.so:
symbol Int64GetDatum: referenced symbol not found

oops.

anyways, some digging (thank you kris jurka!) has shown that my 64bit
solaris tarball (from the postgres website) is missing the 64 bit
includes and lib/64/pgxs/src stuff. for various reasons (many
political) I'd like to get my module working with this version, hence
would like to find the includes and stuff that were built with it. the
website says Bjorn Munch of Sun built them. Does he monitor this list?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-04-16 04:46:36 Re: Int64GetDatum
Previous Message zhong ming wu 2010-04-16 02:22:06 readline library not found