Re: [GENERAL] EnterpriseDB installed PostgreSQL 9.6 vs. REPMGR. Round4 - compilation issues on RHEL 7.2
От | Adrian Klaver |
---|---|
Тема | Re: [GENERAL] EnterpriseDB installed PostgreSQL 9.6 vs. REPMGR. Round4 - compilation issues on RHEL 7.2 |
Дата | |
Msg-id | d52e8c2f-5736-6304-37e0-973c3b55dad5@aklaver.com обсуждение исходный текст |
Ответ на | Re: [GENERAL] EnterpriseDB installed PostgreSQL 9.6 vs. REPMGR. Round4 - compilation issues on RHEL 7.2 (Martin Goodson <kaemaril@googlemail.com>) |
Ответы |
Re: [GENERAL] EnterpriseDB installed PostgreSQL 9.6 vs. REPMGR. Round4 - compilation issues on RHEL 7.2
|
Список | pgsql-general |
On 05/17/2017 07:26 AM, Martin Goodson wrote: > On 16/05/2017 18:46, Adrian Klaver wrote: >> Per Tom's suggestion try >> >> ldd /db_demo/app/postgres/9.6.2-3/lib/libldap_r-2.4.so.2 > > Hello. Apologies for the delay in replying - medical appointment this > morning :) Anyway, executed that command as suggested and this is the > output I got. > > pginst@testdemo00:/db_demo/app/postgres/9.6.2-3/lib$ ls -lrt *ldap* > > -rwxr-xr-x 1 pginst gpginst 354K Mar 13 11:25 libldap-2.4.so.2 > -rwxr-xr-x 1 pginst gpginst 383K Mar 13 11:25 libldap_r-2.4.so.2 > > > pginst@testdemo00:/db_demo/app/postgres/9.6.2-3/lib$ ldd libldap_r-2.4.so.2 > linux-vdso.so.1 => (0x00007ffcd12e4000) > liblber-2.4.so.2 => > /db_demo/app/postgres/9.6.2-3/lib/./liblber-2.4.so.2 (0x00007f20ff9a1000) > libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f20ff77d000) > libsasl2.so.3 => > /db_demo/app/postgres/9.6.2-3/lib/./libsasl2.so.3 (0x00007f20ff55b000) > libssl.so.1.0.0 => > /db_demo/app/postgres/9.6.2-3/lib/./libssl.so.1.0.0 (0x00007f20ff2ec000) > libcrypto.so.1.0.0 => > /db_demo/app/postgres/9.6.2-3/lib/./libcrypto.so.1.0.0 (0x00007f20feeb5000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f20fec99000) > libc.so.6 => /lib64/libc.so.6 (0x00007f20fe8d7000) > libdl.so.2 => /lib64/libdl.so.2 (0x00007f20fe6d2000) > /lib64/ld-linux-x86-64.so.2 (0x00007f20ffe14000) So the EDB install is using its own library for liblber Per Tom's suggestion: nm -D /db_demo/app/postgres/9.6.2-3/lib/liblber-2.4.so.2 What has me confused is this: /lib64/libldap_r-2.4.so.2: undefined reference to `ber_sockbuf_io_udp' It is referring to a library path outside the EDB install. Not sure why it is picking that up? To get a handle on this: whereis libldap_r and then ls -al whatever files are found above ldd whatever files are found above > > (I noticed there was a second file in there with roughly the same name > ... ish. Just in case it might be relevent, I did that one too :) ) > > Hope that info's helpful! > > Regards, > > Martin. > -- Adrian Klaver adrian.klaver@aklaver.com
В списке pgsql-general по дате отправления: