Re: [PORTS] Postgres 6.5.1 on IRIX 6.5 Locating Shared Object Libs

From: "G(dot) Anthony Reina" <reina(at)nsi(dot)edu>
To: Mark Dalphin <mdalphin(at)amgen(dot)com>, "pgsql-ports(at)postgresql(dot)org" <pgsql-ports(at)postgresql(dot)org>
Subject: Re: [PORTS] Postgres 6.5.1 on IRIX 6.5 Locating Shared Object Libs
Date: 1999-08-31 16:52:29
Message-ID: 37CC084C.C697EBFA@nsi.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Mark Dalphin wrote:

> A patch to 'Makefile.shlib' is supplied below:
>
> *** Makefile.shlib.orig Mon Aug 30 11:00:23 1999
> --- Makefile.shlib Mon Aug 30 11:01:47 1999
> ***************
> *** 59,65 ****
> ifeq ($(PORTNAME), irix5)
> install-shlib-dep := install-shlib
> shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
> ! LDFLAGS_SL := -shared
> CFLAGS += $(CFLAGS_SL)
> endif
>
> --- 59,65 ----
> ifeq ($(PORTNAME), irix5)
> install-shlib-dep := install-shlib
> shlib := lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION).$(SO_MINOR_VERSION)
> ! LDFLAGS_SL := -shared -rpath $(LIBDIR)
> CFLAGS += $(CFLAGS_SL)
> endif
>

Thanks Mark. This makes sense. I ended up just linking and/or copying the libraries by hand. However, this solution seems like it solves the heart of the glitch rather than just a simple patch. Hopefully, this can be added to 6.5.2 before
it gets released (I think tomorrow).

-Tony

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message ALAN_YANG 1999-09-01 07:53:35 undefined reference to 'crypt'
Previous Message Mark Dalphin 1999-08-31 16:18:26 Re: [PORTS] Postgres 6.5.1 on IRIX 6.5 Locating Shared Object Libs