pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: flickchick_one <flickchick_one@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: preload libraries
Date: Tue, 22 May 2007 13:43:03 -0400
Message-ID: <15314.1179855783@sss.pgh.pa.us> (raw)
In-Reply-To: <614704.20770.qm@web52109.mail.re2.yahoo.com>
References: <614704.20770.qm@web52109.mail.re2.yahoo.com>

flickchick_one <flickchick_one@yahoo.com> writes:
>   I'm attempting to preload a shared object file (match.so) in order to create a C function in postgres that use will use it.  To do this, I've added the following line to the postgresql.conf file:
   
>   preload_libraries = '/etc/postgresql/8.1/main/match.so'
   
>   Now when attempting to start the server, I receive the following error message:
   
>   Postgresql server failed to start.  Please check the log output:
   
>   Although the message says to check the log for additional info, and a log is created for the event, the file is empty.

The error message is most likely going to postmaster's stderr, which
might or might not be captured by whatever logging setup you're using.
Try starting the postmaster "by hand", ie just "postmaster -D wherever",
and see if you get anything useful.

It sounds like it's probably an object-file compatibility problem, but
need the message to guess exactly what...

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <15314.1179855783@sss.pgh.pa.us>
Permalink:  ../15314.1179855783@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15314.1179855783@sss.pgh.pa.us

 · 

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: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, flickchick_one@yahoo.com
  Subject: Re: preload libraries
  In-Reply-To: <15314.1179855783@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox