Where is zlib-1.2.2 zlib.so?

Mark admin at asarian-host.net
Tue Mar 22 01:31:30 PST 2005


> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Abu Khaled
> Sent: dinsdag 22 maart 2005 5:56
> To: freebsd-questions at freebsd.org
> Subject: Re: Where is zlib-1.2.2 zlib.so?
> 
>
> On Mon, 21 Mar 2005 20:21:17 GMT, Mark <admin at asarian-host.net> wrote:
> >
> > 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;
>    ^                                      ^
> command to make symbolic link
>
> (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
>                         ^
>   here it is !!!
>   symbolic link to libz.so.2

I read that entirely differently. :) I see a large conditional --
including the creation of symlinks -- based on the existence of
libz.so.1.2.2.

> > -r--r--r--  1 root  wheel  52108 Mar  7  2004 /usr/lib/libz.so.2

Clearly, libz.so.2 is still very much the old file (and I know this for
certain, as I also have it elsewhere, in a jailed environment).

So, to reiterate, where is the new shared library, libz.so? Or
libz.so.1.2.2, for that matter. Even in the work directory of the
untarred libz 1.2.2 tar.gz, no libz.so.1.2.2, or libz.so, exists
after building.

Thanks,

- Mark



More information about the freebsd-questions mailing list