Ticket #134 (new defect)

Opened 9 years ago

Error compiling cgic library

Reported by: aandre Owned by:
Priority: minor Milestone:
Component: Development platform Version:
Keywords: Cc:

Description

Following installation instructions [1], i get an error at cgic library compilation:

gcc -g -Wall -c -o cgic.o cgic.c rm -f libcgic.a ar rc libcgic.a cgic.o ranlib libcgic.a gcc -g -Wall -c -o cgictest.o cgictest.c cgictest.c: In function 'cgiMain': cgictest.c:25:2: warning: implicit declaration of function 'dup2' [-Wimplicit-function-declaration]

dup2(cgiOut,stdout);

gcc cgictest.o -o cgictest.cgi -L./ -lcgic /usr/lib64/libfcgi.so gcc: error: /usr/lib64/libfcgi.so: No such file or directory make: * [cgictest.cgi] Error 1

The OS is 64 bits (Linux cc114204a666 3.16.0-50-generic #67~14.04.1-Ubuntu SMP Fri Oct 2 22:07:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux) but there's no /usr/lib64 directory. Here is the file: /usr/lib/libfcgi.so

[1] http://zoo-project.org/docs/install/debian.html

Note: See TracTickets for help on using tickets.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png