Difference between revisions of "Building libllresolv"
Jump to navigation
Jump to search
Tofu Linden (talk | contribs) (New page: libresolv / libllresolv These are instructions for a custom build of libresolv (part of the ISC BIND9 package) for Linux, since as far as we can discover, every build of libresolv.{a,so} ...) |
Alissa Sabre (talk | contribs) (Added to Category:Compiling viewer.) |
||
(7 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
'''Note - use of this library is now obsolete, thankfully.''' | |||
---- | |||
libresolv / libllresolv | libresolv / libllresolv | ||
Line 10: | Line 13: | ||
client, as OSX and Win32 have alternative reasonably- | client, as OSX and Win32 have alternative reasonably- | ||
nonbroken implementations of the functionality we care about. | nonbroken implementations of the functionality we care about. | ||
These instructions describe how to build a libresolv.so, which is the prefered naming for this library in future SL Viewer source releases. | |||
BUILD: | BUILD: | ||
1) wget http://ftp.isc.org/isc/bind9/9.4.1/bind-9.4.1.tar.gz | 1) wget http://ftp.isc.org/isc/bind9/9.4.1/bind-9.4.1.tar.gz | ||
2) tar -xvzf bind-9.4.1.tar.gz | 2) tar -xvzf bind-9.4.1.tar.gz | ||
3) cd bind-9.4.1 | 3) cd bind-9.4.1 | ||
4) CC=gcc-3.4 ./configure --disable-openssl-version-check --disable-threads --enable-shared --disable-static --enable-libbind --disable-atomic --disable-linux-caps --with-openssl=no | 4) CC=gcc-3.4 ./configure --disable-openssl-version-check --disable-threads --enable-shared --disable-static --enable-libbind --disable-atomic --disable-linux-caps --with-openssl=no --enable-threads | ||
5) make | 5) make | ||
6) cd lib/bind | 6) cd lib/bind | ||
7) gcc-3.4 -shared -Wl,-soname,libresolv.so.2 */*.o -o libresolv.so | 7) gcc-3.4 -pthread -shared -Wl,-soname,libresolv.so.2 */*.o -o libresolv.so | ||
COPY TO VIEWER TREE: | COPY TO VIEWER TREE: | ||
8) copy libresolv.so to libraries/i686-linux/lib_release_client/ | 8) copy libresolv.so to libraries/i686-linux/lib_release_client/ | ||
You're done. | You're done. | ||
[[Category:Compiling viewer]] |
Latest revision as of 06:33, 1 July 2008
Note - use of this library is now obsolete, thankfully.
libresolv / libllresolv
These are instructions for a custom build of libresolv (part of the ISC BIND9 package) for Linux, since as far as we can discover, every build of libresolv.{a,so} on common Linux distributions is either misbuilt or hopelessly runtime-incompatible on other distributions.
This is only (currently) of interest for the Linux client, as OSX and Win32 have alternative reasonably- nonbroken implementations of the functionality we care about.
These instructions describe how to build a libresolv.so, which is the prefered naming for this library in future SL Viewer source releases.
BUILD:
1) wget http://ftp.isc.org/isc/bind9/9.4.1/bind-9.4.1.tar.gz 2) tar -xvzf bind-9.4.1.tar.gz 3) cd bind-9.4.1 4) CC=gcc-3.4 ./configure --disable-openssl-version-check --disable-threads --enable-shared --disable-static --enable-libbind --disable-atomic --disable-linux-caps --with-openssl=no --enable-threads 5) make 6) cd lib/bind 7) gcc-3.4 -pthread -shared -Wl,-soname,libresolv.so.2 */*.o -o libresolv.so
COPY TO VIEWER TREE:
8) copy libresolv.so to libraries/i686-linux/lib_release_client/
You're done.