Apologies in advance to all. I am probably just making some bonehead mistake or small typo, but...
Can someone please instruct me as to the proper way to link to libbind9 on Ubuntu 14.02 LTS? I am porting some code of mine from FreeBSD to this Ubuntu system and I'm getting the following unresolved symbols at link time: __res_query __res_mkquery __res_send It seems apparent that this is caused by the fact that FreeBSD has the resolver routines integrated into libc, whereas Linux systems don't. All potentially relevant Linux man pages seem to go out of their way to avoid dropping any hints as to where the separate library that contains the sought after resolver routines might actually reside in the filesystem, but I scrounged around and eventually found a file called: /usr/lib/x86_64-linux-gnu/libbind9.so.140.0.10 and also a symlink to that called: /usr/lib/x86_64-linux-gnu/libbind9.so.140 So, I added the following options to the link step in my Makefile: -L/usr/lib/x86_64-linux-gnu -lbind9 I am now getting a link-time error where the linker is complaining that it can't find the library: /usr/bin/ld: cannot find -lbind9 What am I missing? _______________________________________________ Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users