Re: [Fwd: DBD::Pg on HP-UX 11.31 64bit] - Mailing list pgsql-bugs

From H.Merijn Brand
Subject Re: [Fwd: DBD::Pg on HP-UX 11.31 64bit]
Date
Msg-id 20110314155709.3f19033b@pc09.procura.nl
Whole thread Raw
In response to [Fwd: DBD::Pg on HP-UX 11.31 64bit]  (Simon Riggs <simon@2ndQuadrant.com>)
List pgsql-bugs
On Mon, 14 Mar 2011 10:31:26 -0400, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> "H.Merijn Brand" <h.m.brand@xs4all.nl> writes:
> > Maybe not the most ideal follow up, but I was trying to get a 64bit
> > postgresql running on HP-UX 11.23 Itanium2 64bit following the same
> > mantra that lead to success on my previous quest on 11.31, but whatever
> > I try I run into:
> > loading system objects' descriptions ... ok
> > creating conversions ... FATAL:  incompatible library
"/pro/3gl/postgresql-8.4.7/src/test/regress/tmp_check/install/pro/pgsql/lib/ascii_and_mic.so":missing magic block 
> > HINT:  Extension libraries are required to use the PG_MODULE_MAGIC macro.
>
> Hmm.  That file certainly does contain a magic block, so for some reason
> the backend is failing to find it.  I'd guess something going wrong with
> pg_dlsym() (look into src/backend/port/dynloader/hpux.c) but no idea
> exactly what.

To add to the confusion:

When I just copy the build from HP-UX 11.31 over to 11.23, all seems to
work fine. I *DO* expect that to work the other way around, but this
experiment just worked which is a huge surprise to me.

I tried to build 8.4.7, because 9.0.3 failed soon after start, because
11.23 doesn't have  HP-UX 11.23 doesn't seem to have "struct lifconf"
defined anywhere, so starting with 8.4.7 sounded like a more sane idea

FWIW I also tried with 9.0.3 and SIOCGLIFCONF undefined and IPV6
disabled, but that ended up with the same FATAL incompatible library

>             regards, tom lane
>
> PS: please don't send these types of questions to individuals.  You're
> much more likely to get a timely/helpful response on the pgsql-bugs
> list.

--
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00,
11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.3 and AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

pgsql-bugs by date:

Previous
From: Dave Page
Date:
Subject: Re: BUG #5919: released zipped files have problem
Next
From: "Lane Stevens"
Date:
Subject: BUG #5928: PD_ALL_VISIBLE flag incorrectly set warning messages