Re: [RFC] building postgres with meson - Mailing list pgsql-hackers

From John Naylor
Subject Re: [RFC] building postgres with meson
Date
Msg-id CAFBsxsHfwZYDUOa1+KuW21WDJr+ONscE5ATgvfEBO7mgJHuWPA@mail.gmail.com
Whole thread Raw
In response to Re: [RFC] building postgres with meson  (John Naylor <john.naylor@enterprisedb.com>)
Responses Re: [RFC] building postgres with meson
List pgsql-hackers
I wrote:

> Ok great, it builds now! :-) Now something's off with dynamic loading. There are libraries in ./tmp_install/usr/local/lib/ but apparently initdb doesn't know to look for them there:
>
> $ cat /Users/john/pgdev/meson/build/testrun/main/pg_regress/log/initdb.log
> dyld: Library not loaded: /usr/local/lib/libpq.5.dylib
>   Referenced from: /Users/john/pgdev/meson/build/tmp_install/usr/local/bin/initdb
>   Reason: image not found

After poking a bit more, this only happens when trying to run the tests. If I specify a prefix, I can install, init, and start the server just fine, so that much works.

--
John Naylor
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: should we allow users with a predefined role to access pg_backend_memory_contexts view and pg_log_backend_memory_contexts function?
Next
From: Josef Šimánek
Date:
Subject: Re: [RFC] building postgres with meson