I installed ldb-tools on CentOS 5.10 and I am getting "ldbsearch: symbol
lookup error: /usr/lib64/libldb.so.0: undefined symbol:
tevent_set_debug". Any idea's? Not sure where to post this question. I
am using this for samba4wins.
Jonn
strace ldbsearch
execve("/usr/bin/ldbsearch", ["ldbsearch"], [/* 22 vars */])
= 0
brk(0) = 0x4ad2000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2ad3af274000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2ad3af275000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=73504, ...}) = 0
mmap(NULL, 73504, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2ad3af276000
close(3) = 0
open("/usr/lib64/libldb.so.0", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000l\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=197984, ...}) = 0
mmap(NULL, 2293632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x2ad3af288000
mprotect(0x2ad3af2b7000, 2097152, PROT_NONE) = 0
mmap(0x2ad3af4b7000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2f000) = 0x2ad3af4b7000
close(3) = 0
open("/usr/lib64/libpopt.so.0", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\27\240z>\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=34240, ...}) = 0
mmap(0x3e7aa00000, 2127312, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3e7aa00000
mprotect(0x3e7aa07000, 2097152, PROT_NONE) = 0
mmap(0x3e7ac07000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x3e7ac07000
close(3) = 0
open("/usr/lib64/libtalloc.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0
!\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=38152, ...}) = 0
mmap(NULL, 2133696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x2ad3af4b8000
mprotect(0x2ad3af4c1000, 2093056, PROT_NONE) = 0
mmap(0x2ad3af6c0000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x2ad3af6c0000
close(3) = 0
open("/usr/lib64/libtdb.so.1", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300&\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=65576, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2ad3af6c1000
mmap(NULL, 2161136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x2ad3af6c2000
mprotect(0x2ad3af6d2000, 2093056, PROT_NONE) = 0
mmap(0x2ad3af8d1000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x2ad3af8d1000
close(3) = 0
open("/usr/lib/libtevent.so.0", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\37\340r>\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=53071, ...}) = 0
mmap(0x3e72e00000, 2135840, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3e72e00000
mprotect(0x3e72e09000, 2097152, PROT_NONE) = 0
mmap(0x3e73009000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x3e73009000
close(3) = 0
open("/lib64/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\16
s>\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=23360, ...}) = 0
mmap(0x3e73200000, 2109696, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3e73200000
mprotect(0x3e73202000, 2097152, PROT_NONE) = 0
mmap(0x3e73402000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x3e73402000
close(3) = 0
open("/lib64/libc.so.6", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\332\241r>\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1726472, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2ad3af8d2000
mmap(0x3e72a00000, 3506520, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3e72a00000
mprotect(0x3e72b4f000, 2097152, PROT_NONE) = 0
mmap(0x3e72d4f000, 20480, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14f000) = 0x3e72d4f000
mmap(0x3e72d54000, 16728, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3e72d54000
close(3) = 0
open("/lib64/librt.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0
\"\340s>\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=53448, ...}) = 0
mmap(0x3e73e00000, 2132936, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3e73e00000
mprotect(0x3e73e07000, 2097152, PROT_NONE) = 0
mmap(0x3e74007000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7000) = 0x3e74007000
close(3) = 0
open("/lib64/libcrypt.so.1", O_RDONLY) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\360\t
y>\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=48600, ...}) = 0
mmap(0x3e79200000, 2322880, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3e79200000
mprotect(0x3e79209000, 2093056, PROT_NONE) = 0
mmap(0x3e79408000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x3e79408000
mmap(0x3e7940a000, 184768, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3e7940a000
close(3) = 0
open("/usr/lib64/libaio.so.1", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\5\0\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=3768, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2ad3af8d3000
mmap(NULL, 2099744, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0x2ad3af8d4000
mprotect(0x2ad3af8d5000, 2093056, PROT_NONE) = 0
mmap(0x2ad3afad4000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x2ad3afad4000
close(3) = 0
open("/lib64/libpthread.so.0", O_RDONLY) = 3
read(3,
"\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340W\240s>\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=149968, ...}) = 0
mmap(0x3e73a00000, 2208624, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x3e73a00000
mprotect(0x3e73a16000, 2097152, PROT_NONE) = 0
mmap(0x3e73c16000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16000) = 0x3e73c16000
mmap(0x3e73c18000, 13168, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3e73c18000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2ad3afad5000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2ad3afad6000
arch_prctl(ARCH_SET_FS, 0x2ad3afad6170) = 0
mprotect(0x3e73c16000, 4096, PROT_READ) = 0
mprotect(0x3e79408000, 4096, PROT_READ) = 0
mprotect(0x3e74007000, 4096, PROT_READ) = 0
mprotect(0x3e72d4f000, 16384, PROT_READ) = 0
mprotect(0x3e73402000, 4096, PROT_READ) = 0
mprotect(0x3e7281c000, 4096, PROT_READ) = 0
munmap(0x2ad3af276000, 73504) = 0
set_tid_address(0x2ad3afad6200) = 28035
set_robust_list(0x2ad3afad6210, 0x18) = 0
futex(0x7fff72f0723c, FUTEX_WAKE_PRIVATE, 1) = 0
rt_sigaction(SIGRTMIN, {0x3e73a053c0, [], SA_RESTORER|SA_SIGINFO,
0x3e73a0eca0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x3e73a052f0, [],
SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x3e73a0eca0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0) = 0x4ad2000
brk(0x4af3000) = 0x4af3000
epoll_create(64) = 3
writev(2, [{"ldbsearch", 9}, {": ", 2}, {"symbol lookup
error", 19}, {":
", 2}, {"/usr/lib64/libldb.so.0", 22}, {": ", 2},
{"undefined symbol:
tevent_set_deb"..., 34}, {"", 0}, {"", 0},
{"\n", 1}], 10ldbsearch:
symbol lookup error: /usr/lib64/libldb.so.0: undefined symbol:
tevent_set_debug
) = 91
exit_group(127) = ?