[ome-users] compile error

Ilya Goldberg igg at nih.gov
Thu Dec 15 16:22:54 GMT 2005


Hi
What version of libpng are you using?
Are you sure that when you installed it from source, the OS loaded  
the right lib (ie, is your libpng picked up by ldconfig?).

I am not aware of incompatibilities introduced by later versions of  
libpng, but that may be the case here.
Versions in use here are 1.2.2, 1.2.5, 1.2.8 - all using the relevant  
RPMs on Fedora
-Ilya


On Dec 14, 2005, at 7:36 AM, Pierluigi Previtali wrote:

> 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)
>
> ###############################
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users
>




More information about the ome-users mailing list