[csw-maintainers] missing symbol libz
Dagobert Michelsen
dam at opencsw.org
Tue May 21 23:06:47 CEST 2013
Hi Riccardo,
Am 21.05.2013 um 23:00 schrieb Riccardo Mottola <rmottola at opencsw.org>:
> on solaris 10 with current packages, while compiling my "own" stuff, I get this error:
>
> Linking service GSspell ...
> Undefined first referenced
> symbol in file
> gzopen64 /opt/csw/lib/libxml2.so.2
> ld: fatal: symbol referencing errors. No output written to GSspell.service/./GSspell
>
> but where is this symbol defined? I suppose there is a problem with how libxml2 was linked. Or perhaps libz instead, checking on the web that people have similar problems on linux.
> If all -L and -R flags are correct, it should work I suppose.
>
> Clues?
gzopen64 is from libz.so.1. Most certainly you link with system libz.so.1 previously,
the linker remembers that libz.so.1 is already in and the version from /opt/csw/lib
is not used. Just make sure to always use libz.so.1 from OpenCSW if you are using
other OpenCSW libraries.
Best regards
-- Dago
--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896
More information about the maintainers
mailing list