Re: OSX problem with make check...

From: Adam Witney <awitney(at)sghms(dot)ac(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Theodore Petrosky <tedpet5(at)yahoo(dot)com>
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: OSX problem with make check...
Date: 2004-08-10 22:16:23
Message-ID: BD3F07C7.37361%awitney@sghms.ac.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 10/8/04 10:19 pm, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Theodore Petrosky <tedpet5(at)yahoo(dot)com> writes:
>> this is the error I get with 'make check'.
>
>> dyld:
>> /Users/postgres/software/postgresql-8.0.0beta1/src/test/regress/./tmp_check/i
>> nstall//usr/local/pgsql/bin/initdb
>> can't open library: /usr/local/pgsql/lib/libpq.3.dylib
>> (No such file or directory, errno = 2)
>
> Depending on how sticky the OS is about shared library paths, you may
> have to do "make install" (at least for the main libraries such as
> libpq) before you can "make check". Otherwise the libraries will not
> be where the executables look for them.
>
> pg_regress.sh tries to deal with this by setting LD_LIBRARY_PATH,
> but evidently that doesn't work on OS X. Do you know any other similar
> incantation that does work?

Ah, setting DYLD_LIBRARY_PATH does the trick

setenv DYLD_LIBRARY_PATH
/usr/local/install/postgresql-8.0.0beta1/src/test/regress/tmp_check/install/
usr/local/pgsql/lib/

Now it just fails geometry as described in Michael Glaesemann's previous
post.

I notice that it has never built a .dylib library before... In 7.4.x I have
always had a libpq.so library. Is this new?

Thanks

adam

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Chris Means 2004-08-10 22:17:45 New installation of 8.0 Beta1 Failed to create process for initdb: 1385
Previous Message Edmund Bacon 2004-08-10 22:12:44 8.0 beta1: pg_dump/restore failing