Re: OSX problem with make check...

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

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/install//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?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Edmund Bacon 2004-08-10 22:12:44 8.0 beta1: pg_dump/restore failing
Previous Message Peter Eisentraut 2004-08-10 19:29:04 Re: Locale bug?