[ome-users] compile error
Pierluigi Previtali
previtali.pierluigi at hsr.it
Wed Dec 14 15:36:53 GMT 2005
Hi, I installed the libpng, first like a slackware package, and then to
be sure from source, run the lbpng-test with no errors but I always have
the same error when I'm compiling omeis :
gcc -g -O2 -I/usr/include/openssl -DHAVE_SSL -I/usr/include/db4
-L/usr/lib -L
/usr/lib -ldb -o omeis File.o Pixels.o OMEIS_Error.o auth.o cgi.o
composite.o d
igest.o method.o omeis.o repository.o sha1DB.o xmlBinaryResolution.o
xmlBinaryIn
sertion.o xmlIsOME.o base64.o b64z_lib.o update.o -L/usr/lib -lxml2 -lz
-lm zoom
/lib/libzoom.a zoom/lib/libpic.a -lz -ltiff -ljpeg -lbz2 -lssl -lcrypto
zoom/lib/libpic.a(png.o)(.text+0x97): In function `picpng_open':
/usr/local/src/OME/src/C/omeis/zoom/lib/png.c:49: undefined reference
to `png_c
reate_read_struct'
zoom/lib/libpic.a(png.o)(.text+0x9e):/usr/local/src/OME/src/C/omeis/zoom/lib/pn
g.c:49: undefined reference to `png_create_write_struct'
zoom/lib/libpic.a(png.o)(.text+0xc5):/usr/local/src/OME/src/C/omeis/zoom/lib/pn
g.c:53: undefined reference to `png_create_info_struct'
zoom/lib/libpic.a(png.o)(.text+0x103):/usr/local/src/OME/src/C/omeis/zoom/lib/p
ng.c:66: undefined reference to `png_init_io'
zoom/lib/libpic.a(png.o)(.text+0x12c):/usr/local/src/OME/src/C/omeis/zoom/lib/p
ng.c:68: undefined reference to `png_read_info'
zoom/lib/libpic.a(png.o)(.text+0x168):/usr/local/src/OME/src/C/omeis/zoom/lib/p
ng.c:69: undefined reference to `png_get_IHDR'
the configure output that could be interesting is:
checking for png_init_io in -lpng... no
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
any clue?
thanks
--
###############################
Pierluigi Previtali
Cluster manager
Linux System administrator
_______________________________
Ospedale S. Raffaele del Monte Tabor
Sistemi Informativi
Via Olgettina 60
20132 Milano (Italy)
_______________________________
Dulbecco Telethon Institute
c/o DIBIT Scientific Institute
Via Olgettina 58
20132 Milano (Italy)
###############################
More information about the ome-users
mailing list