Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 163B99FBB79 for ; Tue, 22 May 2007 14:43:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 49514-04 for ; Tue, 22 May 2007 14:43:02 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 1904B9FBB6F for ; Tue, 22 May 2007 14:43:03 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id l4MHh3Mr015315; Tue, 22 May 2007 13:43:03 -0400 (EDT) To: flickchick_one cc: pgsql-admin@postgresql.org Subject: Re: preload libraries In-reply-to: <614704.20770.qm@web52109.mail.re2.yahoo.com> References: <614704.20770.qm@web52109.mail.re2.yahoo.com> Comments: In-reply-to flickchick_one message dated "Tue, 22 May 2007 10:15:51 -0700" Date: Tue, 22 May 2007 13:43:03 -0400 Message-ID: <15314.1179855783@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/224 X-Sequence-Number: 25544 flickchick_one 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