Re: unix socket location confusion

Поиск
Список
Период
Сортировка
От Scott Ribe
Тема Re: unix socket location confusion
Дата
Msg-id 5600A100-C4A4-427D-938E-9FFDDBE87132@elevated-dev.com
обсуждение исходный текст
Ответ на Re: unix socket location confusion  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: unix socket location confusion
Список pgsql-admin
On Mar 22, 2015, at 4:43 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> So this works only if your libpq.dylib is actually installed at the
> location that was expected when you built it.  The recipe you gave
> looks like it should have done that, but I'm suspicious that the
> answer is somewhere near here.

Oh, take me out back and shoot me now ;-)

The one step I left out of my description of the process was the one immediately after make install where I decided I
didnot like the name of the folder I had built into, and re-named it. I am surprised though, that with a full path to
libpq,when that path does not exist, the loader searches and finds a system lib instead of just failing. 

It's questionable whether the PG executables should be built with full or relative paths to the libs, both have their
owndisadvantages. But might be worth considering --relative-rpath someday? Or an option to link the frickin' static
librariesin and avoid the whole issue of mismatches. 

--
Scott Ribe
scott_ribe@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice







В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: unix socket location confusion
Следующее
От: Tom Lane
Дата:
Сообщение: Re: unix socket location confusion