compiling postgres with static libraries?

From: u235sentinel <u235sentinel(at)gmail(dot)com>
To:
Cc: pgsql-admin(at)postgresql(dot)org
Subject: compiling postgres with static libraries?
Date: 2009-10-05 22:58:15
Message-ID: 4ACA7A07.6010301@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Is there a way to compile postgres with static libraries instead of dynamic?

I know it will make the binaries bigger but I have a need to do this.

I've been reading through the make/automake, cc, gcc and ld man pages
AND googling a bit. Not getting it to run properly. When I run the
./configure it says cc cannot create a test object when I try -d n, -B
static or -static.

What am I missing?

I'm thinking this is something I need to do with ld and use LDFLAGS but
that's just a guess.

Thanks!

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Steve Crawford 2009-10-05 23:12:48 Re: idle connections
Previous Message Aras Angelo 2009-10-05 22:42:50 idle connections