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:
>
> 1. Should Dia really be statically-linking libz? Shouldn't there be
> a parameter to use shared libs?
I think if there is no '-static' option given, the target is always dynamically linked
if a sharable version of the library has been found.
> 2. Shouldn't /usr/lib appear before /usr/X11/lib in the list of
> libraries/directories in app/Makefile?
>
> 3. Is my system just messed up in having a libz.a sitting around in
> /usr/X11/lib?
Yes, I think libz.a/.so should be installed in /usr/lib or /usr/local/lib so
the order of /usr/lib and /usr/X11/lib doesn't matter.
Stefan
_______________________________________________________
Stefan Seefeld
Departement de Physique
Universite de Montreal
email: [EMAIL PROTECTED]
_______________________________________________________
...ich hab' noch einen Koffer in Berlin...