diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 7ea794da4..4ec3dde31 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,18 @@ --> + + 2010-04-12 + + + [bdubbs] - Adjust zlib instructions to ensure .pc + file and all libraries are in the proper location. + Thanks to Chris Staub. + Fixes #2630. + + + + 2010-03-27 diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml index 45edfe1ca..044ceadf5 100644 --- a/chapter06/zlib.xml +++ b/chapter06/zlib.xml @@ -41,9 +41,9 @@ Installation of Zlib - Prepare Zlib for building the dynamic library: + Prepare Zlib for compilation: -./configure --prefix=/usr --libdir=/lib +./configure --prefix=/usr Compile the package: @@ -53,16 +53,16 @@ make check - Install the shared library: + Install the package: make install - The previous command installed a .so file in /lib. We will remove it and relink it into - /usr/lib: + The shared library needs to be moved to + /lib, and as a result the + .so file in + /usr/lib will need to be recreated: -rm -v /lib/libz.so +mv -v /usr/lib/libz.so* /lib ln -sfv ../../lib/libz.so.&zlib-version; /usr/lib/libz.so diff --git a/general.ent b/general.ent index a1c5c73d9..519fe7d1b 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - - + +