Re: Fix for HP-UX shared library builds

From: Giles Lean <giles(at)nemeton(dot)com(dot)au>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Fix for HP-UX shared library builds
Date: 2003-01-04 21:39:55
Message-ID: 16629.1041716395@nemeton.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Peter Eisentraut writes:

> > ifeq ($(PORTNAME), hpux)
> > ! # HPUX doesn't believe in version numbers for shlibs
>
> Once upon the time this was true. When did it change, and do we still
> care about the pre-change versions?

The releases of HP-UX that HP support are 11.X (the current release)
and 10.X, supported until 2003-06-30. Certainly these releases both
have versioned shared libraries, and I tested the patch on them.

The previous HP-UX release 9.X ended support by the end of 1999. I
doubt if anyone cares about PostgreSQL on HP-UX 9.X, but if they do
speaking up and putting themselves on record in the archives would
be a Good Idea. :-)

I don't know if the comment was ever true; it may have been. I can't
say when (if) it changed although I can find out if anyone's really
curious.

> > ! shlib := lib$(NAME)$(DLSUFFIX)
> > ! LINK.shared = $(LD) -b +b $(libdir)
> > endif
> >
> > ifeq ($(PORTNAME), irix5)
> > --- 126,133 ----
> > endif
> >
> > ifeq ($(PORTNAME), hpux)
> > ! shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION)
> > ! LINK.shared = $(LD) +h $(shlib) -b +b $(libdir)
>
> This should probably be +h $(soname).

I wasn't sure which was preferred. The values of $(soname) and
$(shlib) in this case are identical.

Regards,

Giles

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-01-04 22:30:01 Re: Fix for HP-UX shared library builds
Previous Message Tom Lane 2003-01-04 16:02:01 Re: pg_dump.options.diff