[getdns-api] Creating programs outside the src/example hierarchy
Paul Hoffman
paul.hoffman at vpnc.org
Fri May 23 04:42:37 CEST 2014
Answering my own question: for some reason, "ldconfig" did not get run after getdns installed. This can be seen by:
# ldd example-simple-answers
linux-vdso.so.1 => (0x00007fffd5761000)
libgetdns_ext_event-0.1.1.so.0 => not found
libgetdns-0.1.1.so.0 => not found
libevent_core-2.0.so.5 => /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 (0x00007f023a1ee000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0239e28000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0239c0a000)
/lib64/ld-linux-x86-64.so.2 (0x00007f023a42d000)
After a "sudo ldconfig", everything is now happy:
# ldd example-simple-answers
linux-vdso.so.1 => (0x00007fffd21fe000)
libgetdns_ext_event-0.1.1.so.0 => /usr/local/lib/libgetdns_ext_event-0.1.1.so.0 (0x00007fce72eea000)
libgetdns-0.1.1.so.0 => /usr/local/lib/libgetdns-0.1.1.so.0 (0x00007fce72ccf000)
libevent_core-2.0.so.5 => /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 (0x00007fce72aa5000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fce726df000)
libunbound.so.2 => /usr/lib/x86_64-linux-gnu/libunbound.so.2 (0x00007fce72452000)
libidn.so.11 => /usr/lib/x86_64-linux-gnu/libidn.so.11 (0x00007fce7221e000)
libldns.so.1 => /usr/lib/libldns.so.1 (0x00007fce71fc1000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fce71da3000)
/lib64/ld-linux-x86-64.so.2 (0x00007fce73102000)
libssl.so.1.0.0 => /lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007fce71b44000)
libcrypto.so.1.0.0 => /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007fce7176a000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fce71566000)
I'm not sure why ldconfig wasn't run during "sudo make install", but there we go...
--Paul Hoffman
_______________________________________________
getdns-api mailing list
getdns-api at vpnc.org
More information about the spec
mailing list