configuring library path for debian build of postgres 9.2

Поиск
Список
Период
Сортировка
От Marc Munro
Тема configuring library path for debian build of postgres 9.2
Дата
Msg-id 1337983537.2210.58.camel@bloodnok.com
обсуждение исходный текст
Ответы Re: configuring library path for debian build of postgres 9.2  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
I'm trying to build postgres 9.2 beta1 on debian stable from sources, in
a way that plays nicely with the debian cluster management stuff.

If I configure with libdir=/usr/lib/postgres everything works but the
shared libraries end up in the wrong place (ie just where I specified).

If I configure with libdir=/usr/lib/postgresql/9.2, which is where I
want the libraries to go, psql complains:

$ /usr/lib/postgresql/9.2/bin/psql: symbol lookup
error: /usr/lib/postgresql/9.2/bin/psql: undefined symbol:
PQconnectdbParams

Here is my configure command:

$ ./configure --build=i486-linux-gnu --prefix=/usr
--includedir=/usr/include/postgresql/9.2
--mandir=/usr/share/postgresql/9.2/man
--infodir=/usr/share/postgresql/9.2/info
--sysconfdir=/etc/postgresql-common --localstatedir=/var
--libexecdir=/usr/lib/postgresql/9.2 --libdir=/usr/lib/postgresql/9.2
--srcdir=. -docdir=/usr/share/doc/postgresql-doc-9.2
--datadir=/usr/share/postgresql/9.2/
--bindir=/usr/lib/postgresql/9.2/bin --enable-nls
--enable-integer-datetimes --enable-thread-safety --enable-debug
--disable-rpath --with-perl --with-python --with-pam --with-krb5
--with-gssapi --with-openssl --with-libxml --with-libxslt --with-ldap
--with-ossp-uuid --with-gnu-ld --with-system-tzdata=/usr/share/zoneinfo
CFLAGS='-g -O2 -g -Wall -O2 -fPIC' LDFLAGS=' -Wl,--as-needed'

I'd appreciate any suggestions.

In the short term I can live with the libraries being in the wrong place
for one postgres version but it isn't viable in the longer term.
Ultimately I'd like to be able to build a debian-compatible postgres
cluster directly from the repository.

Thanks.

__
Marc



Вложения

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

Предыдущее
От: Lonni J Friedman
Дата:
Сообщение: Re: Re: significant performance hit whenever autovacuum runs after upgrading from 9.0 -> 9.1
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: configuring library path for debian build of postgres 9.2