[ZOO-Discuss] compilation error

Gérald Fenoy gerald.fenoy at geolabs.fr
Mon Mar 21 01:14:26 PDT 2011


Hi Pierre,
you should compile cgic library from the third/cgic206 directory to be able to 
compile the ZOO-Kernel and link it to the libcgic.a static lib.

I hope you can confirm that solve your issue.

Best regards,

Le 21 mars 2011 à 05:57, Pierre Roudier a écrit :

> Hi list,
> 
> I got the following compilation error when compiling the last trunk update:
> 
> g++ -g -O2        -I/usr/include/libxml2   -I../thirds/cgic206 -I.
> -DLINUX_FREE_ISSUE  -c zoo_loader.c  -fno-common -DPIC -o zoo_loader.o
> g++   -I/usr/local/include -I/usr/include/libxml2
> -I../thirds/cgic206 -I. -DLINUX_FREE_ISSUE  zoo_loader.o
> zoo_service_loader.o service_internal.o        ulinet.o lex.cr.o
> lex.sr.o service_conf.tab.o main_conf_read.tab.o -o zoo_loader.cgi
> -lcurl -L../thirds/cgic206 -lcgic -lcurl -L/usr/local/lib -lgdal
> -lxml2       -lfcgi -lcrypto
> /usr/bin/ld: cannot find -lcgic
> collect2: ld returned 1 exit status
> make: *** [zoo_loader.cgi] Error 1
> 
> I suspect a static library link is missing but I'm not too sure - if
> anybody here has a pointer that'd be great,
> 
> Pierre
> 
> -- 
> Scientist
> Landcare Research, New Zealand
> _______________________________________________
> Zoo-discuss mailing list
> Zoo-discuss at gisws.media.osaka-cu.ac.jp
> http://gisws.media.osaka-cu.ac.jp/mailman/listinfo/zoo-discuss

Djay
ZOO-PSC Chair
gerald.fenoy at geolabs.fr




More information about the Zoo-discuss mailing list