Re: [Fwd: DBD::Pg on HP-UX 11.31 64bit]

From: "H(dot)Merijn Brand" <h(dot)m(dot)brand(at)xs4all(dot)nl>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: [Fwd: DBD::Pg on HP-UX 11.31 64bit]
Date: 2011-03-14 14:57:09
Message-ID: 20110314155709.3f19033b@pc09.procura.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, 14 Mar 2011 10:31:26 -0400, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> "H.Merijn Brand" <h(dot)m(dot)brand(at)xs4all(dot)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/

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Lane Stevens 2011-03-15 00:01:05 BUG #5928: PD_ALL_VISIBLE flag incorrectly set warning messages
Previous Message Dave Page 2011-03-14 06:32:59 Re: BUG #5919: released zipped files have problem