Skip to main content

Thread: Zlib1g not found


i having problems compiling programs need zlib1g. have both zlib1g , zlib1g-dev installed.
these errors:
fontdata.c: (.text.startup+0x55): undefined reference `gzopen'
fontdata.c: (.text.startup+0xc4): undefined reference `gzgetc'
fontdata.c: (.text.startup+0x15a): undefined reference `gzclose'

if select zlib1g synaptic , @ installed files get:
"the list of installed files available installed packages"
zlib1g-dev package list several files.

solved 11.10 more fussy compiler flag positions. worked
# cc -wall -o2 -lz -fomit-frame-pointer fontdata.c -o fontdata
cc -wall -o2 -fomit-frame-pointer fontdata.c -lz -o fontdata
see how -lz moved
and
# cc -wall -o2 -fomit-frame-pointer -lm bearing.c -o bearing
cc -wall -o2 -fomit-frame-pointer bearing.c -lm -o bearing
-lm has move math library found


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [all variants] Zlib1g not found


Ubuntu

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account