compiling postgres with static libraries?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!

--
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux