Search Postgresql Archives

Re: EnterpriseDB installed PostgreSQL 9.6 vs. REPMGR. Round 4 - compilation issues on RHEL 7.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Goodson <kaemaril@xxxxxxxxxxxxxx> writes:
>>>> /bin/ld: warning: libssl.so.1.0.0, needed by 
>>>> /db_demo/app/postgres/9.6.2-3/lib/libpq.so, may conflict with 
>>>> libssl.so.10
>>>> /lib64/libldap_r-2.4.so.2: undefined reference to `ber_sockbuf_io_udp'
>>>> collect2: error: ld returned 1 exit status

> Drat. Didn't work. openldap2-devel was installed OK, reran the make, got 
> the same error :(

What this looks like is a library versioning problem, maybe?  On my
system, ber_sockbuf_io_udp is exported by /lib64/liblber-2.4.so.2.10.3,
and "ldd" on /lib64/libldap_r-2.4.so.2.10.3 shows that that library will
be pulled in automatically.  Maybe it's not happening like that on your
box.  It's a bit weird though because both those libraries are supplied by
the same openldap package, so it's hard to see how they could be out of
sync.  Maybe you have another copy of one of those libraries floating
around, and the wrong copy is getting pulled into your link?

I'd suggest some investigation with "ldd" and "nm -D" to see what's what.

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux