[GRASS5] Re: grass5 digest, Vol 1 #1162 - 9 msgs

Radim Blazek blazek at itc.it
Wed May 19 06:12:15 EDT 2004


I think that you need 2 links:

libz.1.dylib -> libz.1.1.3.dylib
libz.dylib   -> libz.1.dylib

-lz makes it looking for libz.dylib

Radim

On Tuesday 18 May 2004 21:52, Michael Barton wrote:
> Jens,
>
> Thanks for the reply. I changed the symlink for libz.dylib from
> libz.1.dylib to libz.1.1.3.dylib. This seemed to do the trick. However,
> now I've hit a different snag.
>
> Make crashes with the following error
>
> ....
> -L/sw/lib /sw/lib/libqt-mt.dylib -L/usr/X11R6/lib -L/lib -lresolv -lGL
> -lXmu -lXrender -lXrandr -lXcursor -lXinerama -lXft -lfreetype
> -lfontconfig -lXext -lX11 -lSM -lICE -lXt -L/usr/local/grasslib/lib
> /usr/local/grasslib/lib/libgdal.dylib -L/usr/local/grasslib/src
> /usr/local/grasslib/lib/libproj.dylib -lm -lmfhdf -ldf -lsz -lz
> -lpthread -ldl
> ld: warning -L: directory name (/lib) does not exist
> ld: can't locate file for: -lz
> make[4]: *** [qgis] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> I can't figure out what it is looking for with -lz. Any idea?
>
> Also, I went to irc.freenode.net. This took me to the FreeBSD Project
> page. No information about qgis there. If this refers to an IRC chat
> session, I'm afraid I'm don't know what I need to do to participate in
> this. Also, here in Arizona, I'm in a very different time zone from
> Europe.
>
> Thanks
> Michael Barton
>
>
> ______________________________
> Michael Barton, Professor & Curator
> School of Human Origins, Cultures, & Societies
> Arizona State University
> Tempe, AZ  85287-2402
> USA
>
> voice: 480-965-6262; fax: 480-965-7671
> www: http://www.public.asu.edu/~cmbarton
>
> On May 18, 2004, at 3:01 AM, grass5-request at grass.itc.it wrote:
> > From: Jens Oberender <grass at troja.net>
> > Date: May 17, 2004 4:16:40 AM MST
> > To: grass5 at grass.itc.it
> > Subject: Re: [GRASS5] libz error compiling qgis
> >
> >
> > Hi Michael
> >
> >> I am trying to compile QGIS on my Mac (OSX 10.3.3) to get some idea of
> >> where GRASS is heading. There is no assurance that it will compile on
> >> a
> >> Mac OSX 10.3.3--but there is no indication yet that it won't.
> >
> > Latest CVS should work fine with Mac OSX, there were some changes to
> > fix
> > endian problems.
> >
> >> After a bit of futzing, my ./configure went well. But when I tried to
> >> do a make, it died with the following error.
> >>
> >> ld: /usr/local/pgsql/lib/libpq.a(fe-secure.o) illegal reference to
> >> symbol: _SSL_connect defined in indirectly referenced dynamic library
> >> /usr/lib/libssl.0.9.7.dylib
> >> ld: /usr/local/pgsql/lib/libpq.a(fe-secure.o) illegal reference to
> >> symbol: _BIO_free defined in indirectly referenced dynamic library
> >> /usr/lib/libcrypto.0.9.7.dylib
> >> ld: warning multiple definitions of symbol _adler32
> >> /usr/lib/libz.1.1.3.dylib(adler32.o) definition of _adler32
> >> /usr/lib/libz.dylib(adler32.o) definition of _adler32
> >> ld: warning multiple definitions of symbol _crc32
> >> /usr/lib/libz.1.1.3.dylib(crc32.o) definition of _crc32
> >> /usr/lib/libz.dylib(crc32.o) definition of _crc32
> >> ld: warning multiple definitions of symbol _get_crc_table
> >> /usr/lib/libz.1.1.3.dylib(crc32.o) definition of _get_crc_table
> >> /usr/lib/libz.dylib(crc32.o) definition of _get_crc_table
> >> make[4]: *** [qgis] Error 1
> >> make[3]: *** [all-recursive] Error 1
> >> make[2]: *** [all] Error 2
> >> make[1]: *** [all-recursive] Error 1
> >> make: *** [all] Error 2
> >>
> >> I have been able to find references to others having problems with
> >> libz, but no one seems to indicate what program this library comes
> >> with. I thought before bugging the qGIS people, I'd see if any of you
> >> have some idea about this.
> >
> > I'm not sure about that, but perhaps /usr/lib/libz.dylib must be a
> > link to
> > /usr/lib/libz.1.1.3.dylib, when it's the same mechanism as on Linux.
> >
> > If you have questions about qgis, you can come to the #qgis channel on
> > irc.freenode.net or join the ml.
> >
> > --
> > Ciao
> > 	Jens Oberender
> > ------------------------------------
> > Die Liebe ist ein seltsam Ding.




More information about the grass-dev mailing list