Okay, I have more info on libz/zlib and I need more info on libz/zlib.
First:
I read more on "linking" objects.
The program I was trying to compile erased an error:
"/usr/i486-linux/bin/ld: cannot open -lz: No such file or directory"
-lz means the linker will look for the file libz. in
the built-in library path and any dirs specified by -L<dir> with the
invocation.
The infamous libz package install libz. in /usr/X11R6/lib instead of
installing it in /usr/lib. There it installed libgz.. I would like to
have information about this, especially if compared with the RH approach for
the zlib library because they install libz only in /usr/lib and didn't change
any name in libgz.
There are two ways to solve the problem:
1) Add the line "-L/usr/X11R6/lib/" to the compiler options (which I should do
every time I compile a package which requires the libz library)
2) Create a few symbolic links:
/usr/lib/libz.a -> /usr/X11R6/lib/libz.a
/usr/lib/libz.so -> /usr/X11R6/lib/libz.so.1.1.3
/usr/lib/libz.so.1.1.3 -> /usr/X11R6/lib/libz.so.1.1.3
3) There is one more way :-) : Create a new libz/zlib package with the proper
patch.
Second:
In the Red Hat zlib/libz package there are, above others:
zlib.h
zconf.h
zutil.h
in SuSE libz/zlib zutil.h is missing.
Hope people at SuSE will give me some more details on this topic.
Thanks.
Maurizio
--
To get out of this list, please send email to majordomo@suse.com with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archive at http://www.suse.com/Mailinglists/suse-linux-e/index.html