2015年1月18日 星期日

[LFS] 6.11. Zlib-1.2.8

1. Configuration file
./configure –prefix=/usr


2. Compile the package
make 


3. Install package
make install 


4. Shared library needs to be moved to /lib
mv -v /usr/lib/libz.so.* /lib
ln -sfv ../../lib/$(readlink /usr/lib/libz.so) /usr/lib/libz.so


Reference:
1. 6.11. Zlib-1.2.8
2. 3.2. All Packages

Related Posts:

  • [LFS] 6.10. Adjusting the Toolchain 1. Link any newly compiled program against these new libraries. mv -v /tools/bin/{ld,ld-old} mv -v /tools/$(gcc -dumpmachine)/bin/{ld,ld-old} mv -v /… Read More
  • [LFS] 6.11. Zlib-1.2.8 1. Configuration file ./configure –prefix=/usr 2. Compile the package make 3. Install package make install 4. Shared library needs to be mo… Read More
  • [LFS] 6.13. Binutils-2.25 The Binutils package contains a linker, an assembler, and other tools for handling object files. 1. Verify that the PTYs are working properly expec… Read More
  • [LFS] 6.12. File-5.22 The File package contains a utility for determining the type of a given file or files. 1. Configuration file ./configure –prefix=/usr 2. Ind… Read More
  • [LFS] 6.9. Glibc-2.20 1 1. Download Glibc-2.20 2 2. Copy glibc-2.20.tar.gz to $LFS/tmp 3. Into QEMU emulation user mode again cd tmp mkdir -v /tmp/glibc-build cd /tmp/glibc-… Read More

0 意見:

張貼留言