Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2005 09:31:25 GMT
From:      Mark <admin@asarian-host.net>
To:        <freebsd-questions@freebsd.org>
Subject:   RE: Where is zlib-1.2.2 zlib.so?
Message-ID:  <200503220931.j2M9VP4i033721@asarian-host.net>
In-Reply-To: <a64c109e05032120563e5c9dde@mail.gmail.com>

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

> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Abu Khaled
> Sent: dinsdag 22 maart 2005 5:56
> To: freebsd-questions@freebsd.org
> Subject: Re: Where is zlib-1.2.2 zlib.so?
> 
>
> On Mon, 21 Mar 2005 20:21:17 GMT, Mark <admin@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



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