Re: [QUESTIONS] Re: HP-UX shared lib problem with 6.3.1 - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [QUESTIONS] Re: HP-UX shared lib problem with 6.3.1
Date
Msg-id 199804052220.SAA02017@candle.pha.pa.us
Whole thread Raw
List pgsql-hackers
Not sure how to handle this.  Can other HP-UX people comment on this?

>
>
> --Boundary-1923581-0-0
>
> Yes, I had to modify the Makefile.hpux and the permissions of the shared
> library file.  I made the following change to
> postgresql-6.3.1/src/makefiles/Makefile.hpux
>
> *** Makefile.hpux       Fri Apr  3 14:38:37 1998
> --- Makefile.hpux.org   Fri Apr  3 14:37:51 1998
> ***************
> *** 1,7 ****
>   HPUX_MAJOR= $(shell uname -r|sed 's/^[^.]*\.\([^.]*\).*/\1/')
>   # HP-UX 10 has a select() in libcurses, so we need to get the libc version
> first
>   ifeq ($(HPUX_MAJOR), 10)
> !    LDFLAGS:= -Wl,-E,+b/opt/postgres/lib -lc $(LDFLAGS)
>   endif
>
>   # HP-UX 09 needs libc before libPW, so we need to get the libc version first
> --- 1,7 ----
>   HPUX_MAJOR= $(shell uname -r|sed 's/^[^.]*\.\([^.]*\).*/\1/')
>   # HP-UX 10 has a select() in libcurses, so we need to get the libc version
> first
>   ifeq ($(HPUX_MAJOR), 10)
> !    LDFLAGS:= -Wl,-E -lc $(LDFLAGS)
>   endif
>
>   # HP-UX 09 needs libc before libPW, so we need to get the libc version first
>
>
> I also, needed to change the permissions on the libpq.sl lib from read access
> to read and execute access, i.e.,
>
> -rwxr-xr-x   1 postgres postgres   98489 Apr  3 15:07 libpq.sl
>
>
> ---
>     Carl
>
>
> --Boundary-1923581-0-0
> X-Orcl-Content-Type: message/rfc822
>
> Received: 01 Apr 1998 03:57:37                    Sent: 01 Apr 1998 03:54:59
> From:"Pierre Habraken " <Pierre.Habraken@ujf-grenoble.fr>
> To: CGRECO@datasrv1.oppd.com
> Subject: Re: HP-UX shared lib problem with 6.3.1
> Cc: pgsql-questions@hub.org
> Reply-to: Pierre.Habraken@ujf-grenoble.fr
> X-Orcl-Application: Organization:  Universit� Joseph Fourier
> X-Orcl-Application: X-Mailer:  Mozilla 4.04 [en] (WinNT; I)
> X-Orcl-Application: Mime-Version:  1.0
> X-Orcl-Application: Content-Type:  text/plain; charset=iso-8859-1
> X-Orcl-Application: Content-Transfer-Encoding:  8bit
>
>
> Have you got any answer to the question you posted last week about the
> wrong identification of install directory for the shared libs ?
>
> The hpux dld.sl man page says that a run time search path may be
> specified using either the option +b followed by the search path list,
> or the option +s which enables the path list defined by SHLIB_PATH at
> run time.
>
> The makefile in src/interfaces/libpq defines the option -b which is
> apparently not appropriate. I tried both +b <path list> and +s but the
> result in either case was a bunch of unresolved symbols...
>
> Pierre
> --
> ________________________________________________________________________
> Pierre HABRAKEN - mailto:Pierre.Habraken@ujf-grenoble.fr
> T�l: 04 76 51 48 87 - Fax: 04 76 51 45 63
> Universit� Joseph Fourier - D�partement Scientifique Universitaire
> Adresse postale : CAFIM/DSU BP53 38041 Grenoble Cedex 9
> ________________________________________________________________________
>
>
> --Boundary-1923581-0-0--
> --
> Official WWW Site: http://www.postgresql.org
> Online Docs & FAQ: http://www.postgresql.org/docs
> Searchable Lists: http://www.postgresql.org/mhonarc
>
>


--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] RH Linux v6.3.1 patch
Next
From: Cristian Gafton
Date:
Subject: Re: [HACKERS] RH Linux v6.3.1 patch