Hi, all,

I am trying to install gd (gd-2.0.23) manually without Fink on my Mac (PB 550 running Panther 10.3.3). It's a long story, but basically, I was suggested to install it manually so that it would work well with a program package that I am trying to install (gBrowse).

I got an error during make process (gdtest, I believe). The part of the error log is the following:

...<snip>
ld: warning multiple definitions of symbol _deflateParams
/usr/lib/libz.dylib(deflate.o) definition of _deflateParams
/usr/lib/libz.1.1.3.dylib(deflate.o) definition of _deflateParams
ld: warning multiple definitions of symbol _deflate
/usr/lib/libz.dylib(deflate.o) definition of _deflate
/usr/lib/libz.1.1.3.dylib(deflate.o) definition of _deflate
ld: warning multiple definitions of symbol _deflateEnd
/usr/lib/libz.dylib(deflate.o) definition of _deflateEnd
/usr/lib/libz.1.1.3.dylib(deflate.o) definition of _deflateEnd
...<snip>
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _crc32 used from dynamic library /usr/lib/libz.1.1.3.dylib(crc32.o) not from earlier dynamic library /usr/lib/libz.1.dylib(crc32.o)
symbol _get_crc_table used from dynamic library /usr/lib/libz.1.1.3.dylib(crc32.o) not from earlier dynamic library /usr/lib/libz.1.dylib(crc32.o)
symbol _inflateSync used from dynamic library /usr/lib/libz.1.1.3.dylib(inflate.o) not from earlier dynamic library /usr/lib/libz.1.dylib(inflate.o)
symbol _inflateInit_ used from dynamic library /usr/lib/libz.1.1.3.dylib(inflate.o) not from earlier dynamic library /usr/lib/libz.1.dylib(inflate.o)
symbol _inflateSetDictionary used from dynamic library /usr/lib/libz.1.1.3.dylib(inflate.o) not from earlier dynamic library /usr/lib/libz.1.dylib(inflate.o)
symbol _inflate used from dynamic library /usr/lib/libz.1.1.3.dylib(inflate.o) not from earlier dynamic library /usr/lib/libz.1.dylib(inflate.o)
...<snip>
ld: warning suggest use of -bind_at_load, as lazy binding may result in errors or different symbols being used
symbol _crc32 used from dynamic library /usr/lib/libz.1.1.3.dylib(crc32.o) not from earlier dynamic library /usr/lib/libz.1.dylib(crc32.o)
symbol _get_crc_table used from dynamic library /usr/lib/libz.1.1.3.dylib(crc32.o) not from earlier dynamic library /usr/lib/libz.1.dylib(crc32.o)
ld: Undefined symbols:
_gdImageCreateFromGd2Ptr
_gdImageCreateFromGdPtr
_gdImageCreateFromPngPtr
make[2]: *** [gdtest] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


When I looked into my "/usr/lib/" directory, I found 2 instances of libz dynamic libraries:

-rwxr-xr-x 1 root wheel 56416 19 Mar 11:27 libz.1.1.3.dylib*
-rwxr-xr-x 1 root wheel 56200 19 Mar 11:27 libz.1.dylib*
lrwxr-xr-x 1 root wheel 12 28 Dec 02:17 libz.dylib@ -> libz.1.dylib


Apparently, libz.dylib is symbolically linked to libz.1.dylib.

My feeling for the cause of the error in my installation was because of the presence of the 2 libz.dylib. Could this be true? If so, should I get rid of "libz.1.1.3.dylib" (or move it out of the way for now)? Also, how did I get these two dynamic libraries (of different file size) on the same date? Is this way it should be?

Thanks so much for the help.

Chia



-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to