Forum

hiawatha-10.7 while make am getting this error

david
21 November 2017, 12:15
CMakeFiles/cgi-wrapper.dir/src/libfs.c.o: In function `gzip_file':
/home/ubuntu/hiawatha-10.7/src/libfs.c:396: undefined reference to `gzopen64'
/home/ubuntu/hiawatha-10.7/src/libfs.c:417: undefined reference to `gzclose'
/home/ubuntu/hiawatha-10.7/src/libfs.c:410: undefined reference to `gzwrite'
/home/ubuntu/hiawatha-10.7/src/libfs.c:417: undefined reference to `gzclose'
collect2: error: ld returned 1 exit status
make[2]: *** [cgi-wrapper] Error 1
make[1]: *** [CMakeFiles/cgi-wrapper.dir/all] Error 2
make: *** [all] Error 2
==========================
i am using ubuntu 16.04 install all dependencies cmake,libxml2-dev,libxslt, zlib all latest versions
Joe Schmoe
21 November 2017, 16:17
Make sure you installed the dev packages for the dependencies.

sudo apt-get install zlib1g-dev


Check the bottom of this thread for a list of packages

https://www.hiawatha-webserver.org/forum/topic/1720
Hugo Leisink
21 November 2017, 16:56
If you use the script extra/make_debian_package, you will be informed about missing dependencies.
david
23 November 2017, 16:49
Missed out z lib - dev so installed successfully thanks
This topic has been closed.