Re: Compiling PL/Perl and Pl/Python on x86_64

From: imacat <imacat(at)mail(dot)imacat(dot)idv(dot)tw>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Compiling PL/Perl and Pl/Python on x86_64
Date: 2006-05-09 16:34:01
Message-ID: 20060510003350.2EDF.IMACAT@mail.imacat.idv.tw
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 08 May 2006 03:58:54 +0800
imacat <imacat(at)mail(dot)imacat(dot)idv(dot)tw> wrote:
> On Sun, 07 May 2006 13:09:48 -0400
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > imacat <imacat(at)mail(dot)imacat(dot)idv(dot)tw> writes:
> > > I cannot compile PL/Perl and PL/Python under x86_64.
> > Works fine for me (without any tinkering with flags) on Fedora Core 4.
> Will... thank you for the hint. I have tested to build with the

I have successfully compiled with a shared Perl/Python libraries.
Thank you for your hint. But now I have another question.

Why can't I link PL/Perl and PL/Python against the static
Perl/Python libraries, as I did on 32-bit machines? I have added -fPIC
when linking Perl statically, but it still doesn't work. Is ther any
reason that it doesn't work to link that way?

--
Best regards,
imacat ^_*' <imacat(at)mail(dot)imacat(dot)idv(dot)tw>
PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt

<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's: http://www.imacat.idv.tw/
TLUG List Manager: http://lists.linux.org.tw/cgi-bin/mailman/listinfo/tlug

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message PFC 2006-05-09 16:38:51 Re: [HACKERS] Big IN() clauses etc : feature proposal
Previous Message Bruce Momjian 2006-05-09 16:31:33 Re: Number of dimensions of an array parameter