Stefan Schimanski wrote:

Am 13.12.2007 um 22:29 schrieb Peter Kümmel:

Stefan Schimanski wrote:
Hi!
Now that I got my Mac back from a repair I just ran into a link problem (which I did not have with Linux earlier today): lyx-qt4 is not linked against zlib (i.e. no -lz in the linker command line). It seems that in my old checkout boost/iostreams forced zlib to be linked in, but now as that is gone, on Mac there is this problem.
I attached a patch. Does it make sense?
Stefan


Looks ok. But I wonder how it works here, without linking
explicitly against zlib?

Maybe your Qt is linked against it or something like that?!

Indeed:

_gzopen gefunden.
        In "support.lib(gzstream.obj)" referenziert
        "QtCored4.lib(QtCored4.dll)" geladen
      _gzclose gefunden.
        In "support.lib(gzstream.obj)" referenziert
        "QtCored4.lib(QtCored4.dll)" geladen
      _gzread gefunden.
        In "support.lib(gzstream.obj)" referenziert
        "QtCored4.lib(QtCored4.dll)" geladen

and zlib.h:

# ifdef QT_MAKEDLL
# define Q_ZEXPORT __declspec(dllexport)
# else


Seems on the Mac Qt is build without zlib.


--
Peter Kümmel

Reply via email to