On Fri, 9 Apr 1999, Christopher J Peikert wrote:
> I found a solution to the problem. In the list of library directories
> given in the Makefile, /usr/X11/lib appears before /usr/lib. My
> /usr/X11/lib directory had a copy of libz.a residing in it, and it
> must have been old because there was no "gzopen" symbol defined in it,
> nor any of the others. I copied my newer libz.a into that directory
> and things compiled fine. So now some questions for the developers:
>
Curiously, this is something I ran in to with another project this
morning, however my situation was reversed..
> 2. Shouldn't /usr/lib appear before /usr/X11/lib in the list of
> libraries/directories in app/Makefile?
I don't think this is the correct solution... see below
>
> 3. Is my system just messed up in having a libz.a sitting around in
> /usr/X11/lib?
with gnome installations, it seems to be common to have a libz.a in
/usr/local/lib, in addition to /usr/X11/lib. I assume, but havent checked,
that the zlib packaged with gnome is set to install in the
/usr/local/path.. however.. i found this morning i was missing gzopen in
my lib in /usr/local/lib/libz.a, but not in my /usr/X11/lib/libz.a.. so, I
suppose we should actually build a check into the autoconf to check for
gzopen in zlib, and find the next instance in libpath if its not there..
sounds icky.. i'll gather some feedback before writing up the diffs.
dc
>
> Thanks,
> -Chris Peikert
>
>