Re: [QUESTIONS] Re: HP-UX shared lib problem with 6.3.1

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: CGRECO(at)oppd(dot)com (CGRECO(dot)OPPD(dot)COM)
Cc: pierre(dot)habraken(at)ujf-grenoble(dot)fr, hackers(at)postgreSQL(dot)org (PostgreSQL-development)
Subject: Re: [QUESTIONS] Re: HP-UX shared lib problem with 6.3.1
Date: 1998-04-05 22:20:46
Message-ID: 199804052220.SAA02017@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)Habraken(at)ujf-grenoble(dot)fr>
> To: CGRECO(at)datasrv1(dot)oppd(dot)com
> Subject: Re: HP-UX shared lib problem with 6.3.1
> Cc: pgsql-questions(at)hub(dot)org
> Reply-to: Pierre(dot)Habraken(at)ujf-grenoble(dot)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(dot)Habraken(at)ujf-grenoble(dot)fr
> Tl: 04 76 51 48 87 - Fax: 04 76 51 45 63
> Universit Joseph Fourier - Dpartement 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(at)candle(dot)pha(dot)pa(dot)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)

Browse pgsql-hackers by date

  From Date Subject
Next Message Cristian Gafton 1998-04-05 22:29:12 Re: [HACKERS] RH Linux v6.3.1 patch
Previous Message Bruce Momjian 1998-04-05 22:18:16 Re: [HACKERS] RH Linux v6.3.1 patch