Xlogdump compiling error : undefined reference to `ber_sockbuf_io_udp'

From: Adarsh Sharma <eddy(dot)adarsh(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Xlogdump compiling error : undefined reference to `ber_sockbuf_io_udp'
Date: 2014-02-10 06:02:26
Message-ID: CAGx-QqLKmA6YfxXn2sP-8ZRwEU=nqJ8y5k277o5uhA_bcNRtAA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

Any body faced the similar issue while compiliing xlogdump :-

[root(at)db1002 xlogdump]# make
/usr/bin/gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith
-Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute
-Wformat-security -fno-strict-aliasing -fwrapv strlcpy.o xlogdump.o
xlogdump_rmgr.o xlogdump_statement.o xlogdump_oid2name.o
-L/opt/PostgresPlus/9.2AS/lib -lpgport -L/opt/PostgresPlus/9.2AS/lib -lpq
-L/opt/PostgresPlus/9.2AS/lib -L/opt/libxml2-2.7.8/inst/lib
-L/opt/libxslt-1.1.26/inst/lib -L/opt/libiconv-1.14/inst/lib
-L/opt/openldap-2.4.31/inst/lib -L/opt/krb5-1.10.1/inst/lib
-L/opt/openssl-1.0.1c/inst/lib -L/opt/libedit-20120311-3.0/inst/lib
-L/opt/ncurses-5.9/inst/lib -L/opt/uuid-1.6.2/inst/lib
-L/opt/libmemcached-1.0.7/inst/lib -Wl,--as-needed
-Wl,-rpath,'/opt/PostgresPlus/9.2AS/lib',--enable-new-dtags -lpgport
-lmemcached -lxslt -lxml2 -lpam -lssl -lcrypto -lgssapi_krb5 -lz -ledit
-lcrypt -lxml2 -lm -o xlogdump
/usr/bin/ld: warning: libssl.so.1.0.0, needed by
/opt/PostgresPlus/9.2AS/lib/libpq.so, may conflict with libssl.so.10
/lib64/libldap_r-2.4.so.2: undefined reference to `ber_sockbuf_io_udp'
collect2: ld returned 1 exit status
make: *** [xlogdump] Error 1
[root(at)db1002 xlogdump]#

I need to use xlogdump to analyse my xlog files in postgresql to understand
why there are so much xlog generation on Master.

Thanks

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Geoghegan 2014-02-10 06:15:21 Re: Xlogdump compiling error : undefined reference to `ber_sockbuf_io_udp'
Previous Message Tsubasa Sakamoto 2014-02-10 04:51:38 Re: client encoding that psql command sets