Where is zlib-1.2.2 zlib.so?

Mark admin at asarian-host.net
Mon Mar 21 12:21:19 PST 2005


Ok, I downloaded and installed zlib-1.2.2 (FreeBSD 4.10R):

---------------------------------------------
asarian-host: {root} % make install
cp zlib.h zconf.h /usr/local/include
chmod 644 /usr/local/include/zlib.h /usr/local/include/zconf.h
cp libz.a /usr/local/lib
cd /usr/local/lib; chmod 755 libz.a
cd /usr/local/lib; if test -f libz.so.1.2.2; then  rm -f libz.so libz.so.1;
ln -s libz.so.1.2.2 libz.so;  ln -s libz.so.1.2.2 libz.so.1;  (ldconfig ||
true)  >/dev/null 2>&1;  fi
cp zlib.3 /usr/local/share/man/man3
chmod 644 /usr/local/share/man/man3/zlib.3

asarian-host: {root} % find /usr/ -name "libz.*" | xargs ls -la
-r--r--r--  1 root  wheel  61898 Mar  7  2004 /usr/lib/libz.a
lrwxr-xr-x  1 root  wheel      9 Mar  7  2004 /usr/lib/libz.so -> libz.so.2
-r--r--r--  1 root  wheel  52108 Mar  7  2004 /usr/lib/libz.so.2
-rwxr-xr-x  1 root  wheel  74486 Mar 21 21:01 /usr/local/lib/libz.a
---------------------------------------------

So, where is the new shared library, libz.so? I only see libz.a installed.

Thanks,

- Mark



More information about the freebsd-questions mailing list