error with libipq.h

Asked by charlie


I have a problem with a code mine. I have Ubuntu 6.06 with kernel version When I type "make" it appears the next error that tells me that doesn't exist the file or directory for libipq.h: "error: libipq.h: No existe el fichero ó directorio". But I have got installed the iptables-dev package.

Question information

English Edit question
Ubuntu iptables Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Revision history for this message
jtniehof (jtniehof) said :

libipq.h is under /usr/include/libipq/ which is not a standard search location for includes. Either the line that includes it should have the path (#include <libipq/libipq.h>) or there should be a CFLAG specifying the directory for includes (-I/usr/include/libipq/).

If you could provide a link to the code you're trying to build, I could potentially be more helpful.

(Incidentally, I strongly recommend upgrading to 8.04, which is the next LTS release.)

Revision history for this message
charlie (charlie-c-p-deactivatedaccount) said :


Five minutes before of read your answer I included in the Makefile the library with -I/usr/include/libipq and all work fine. That was the problem.

Thanks anyway.