statically compiling postgres and problem with initdb - Mailing list pgsql-general

From mona attariyan
Subject statically compiling postgres and problem with initdb
Date
Msg-id 1309505296.39911.YahooMailClassic@web161701.mail.bf1.yahoo.com
Whole thread Raw
Responses Re: statically compiling postgres and problem with initdb  (Craig Ringer <craig@postnewspapers.com.au>)
List pgsql-general
Hi,
I statically compiled my postgres and I got the following message when I ran initdb:

creating conversions ... FATAL:  could not load library "/usr/local/pgsql/lib/ascii_and_mic.so": /usr/local/pgsql/lib/ascii_and_mic.so: undefined symbol: pg_ascii2mic
STATEMENT:  CREATE OR REPLACE FUNCTION ascii_to_mic (INTEGER, INTEGER, CSTRING, INTERNAL, INTEGER) RETURNS VOID AS '$libdir/ascii_and_mic', 'ascii_to_mic' LANGUAGE C STRICT;

There was a discussion about this in the archive, but there wasn't any fix for it. I have to compile postgres statically for the project I'm doing. Any suggestions on how to get around this problem?

Thanks
--Mona

pgsql-general by date:

Previous
From:
Date:
Subject: Re: Contrib source
Next
From: Dmitriy Igrishin
Date:
Subject: Re: How to create "auto-increment" field WITHOUT a sequence object?