Re: Regresstion Tests do not find PGLIB directory - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: Regresstion Tests do not find PGLIB directory
Date
Msg-id Pine.LNX.4.30.0102191808310.977-100000@peter.localdomain
Whole thread Raw
In response to Re: Regresstion Tests do not find PGLIB directory  (Emily Carl <emilyac@wanet.net>)
List pgsql-bugs
Emily Carl writes:

> src/Makefile.global contains:
>
> >>POSTGRESDIR= /export/home/postgres/postgresql-7.0.3
> >>
> >># Where the postgres executables live (changeable by just putting them
> >># somewhere else and putting that directory in your shell PATH)
> >>BINDIR= $(POSTGRESDIR)/bin
> >>
> >># Where libpq.a gets installed.  You must put it where your loader will
> >># look for it if you wish to use the -lpq convention.  Otherwise you
> >># can just put the absolute pathname to the library at the end of your
> >># command line.
> >>LIBDIR= $(POSTGRESDIR)/lib
>
> Does this definition come in to play in the make done down
> in the src/test/regress directory?  src/test/regress/README

It should, unless you have a sufficiently odd version of GNU make.

> Instructions state:
> " To prepare for regression testing, do "make all" in the regression test
>   directory.  This compiles a 'C' program with PostgreSQL extension functions
>  ..."
>
> - From what I am seeing, it does not.

What exactly are you seeing that makes you believe that?

  I have not added any
> definitions of LD_LIBRARY_PATH or LIBDIR elsewhere such as in the
> /etc/profile file (did make the suggested entry in the /etc/ld.so.conf).

This issue has absolutely nothing to do with the dynamic linker.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Problem with function aclcontains, features or bug?
Next
From: Peter Eisentraut
Date:
Subject: Re: Not able to connect to PostgreSQL in Linux!