Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2005 20:21:17 GMT
From:      Mark <admin@asarian-host.net>
To:        "'FreeBSD-Questions Questions'" <freebsd-questions@freebsd.org>
Subject:   Where is zlib-1.2.2 zlib.so?
Message-ID:  <200503212021.j2LKLHtq018150@asarian-host.net>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503212021.j2LKLHtq018150>