Re: DBD::Pg 2.15.1 compilation failed

From: "Albe Laurenz" <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Alexandra Roy *EXTERN*" <Alexandra(dot)Roy(at)bull(dot)net>, "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: DBD::Pg 2.15.1 compilation failed
Date: 2009-11-24 10:13:03
Message-ID: D960CB61B694CF459DCFB4B0128514C203938065@exadv11.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alexandra Roy wrote:
>
> I am still trying to build DBD::Pg but I have another question.
>
> Is it possible to do a 64-build of DBD::Pg ?
> I ask this because PostgreSQL 8.3.8 has been compiled in 64 bits mode
> and if DBD::Pg expects to find 32 bits library, this can explain my
> problem...

I would first check if your perl is 32- or 64-bit. If perl is 32-bit,
that would explain why DBD::Pg cannot find the functions in a
64-bit libpq.

A solution for this case would be to build a 32-bit libpq.so and
add it to libpq.a (you'd have to choose different names for the
so files). They you could link this libpq.a with both 64-bit and
32-bit programs.

If your perl is 64-bit, then it must be a different problem...

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2009-11-24 10:14:22 Re: [COMMITTERS] recover deleted records
Previous Message Allan Morris Caras 2009-11-24 10:03:22 recover deleted records