hardy: problems compiling vpnc with ssl support

Aart Koelewijn aart at mtack.xs4all.nl
Fri May 30 09:58:42 UTC 2008

On Thu, 29 May 2008 13:14:23 -0700, Donald Raikes wrote:

> Hello,
> Yesterday I installed hardy, and since I need a cisco compliant vpnc
> solution, I installed the vpnc package using apt-get. When I copied the
> necessary conf and certificate files, and tried to run vpnc, I got an
> error saying that vpnc was not compiled with ssl support.
> I used apt-get source vpnc to get the source package. I edited the
> Makefile and uncommented the two lines which enable openssl support.
> gcc -Wall -g -O2 -W -Wall -Wmissing-declarations -Wwrite-strings
> -DVERSION=\"0.5.1\" -DOPENSSL_GPL_VIOLATION  -c -o vpnc.o vpnc.c
> vpnc.c:45:26: error: openssl/x509.h: No such file or directory
> vpnc.c:46:25: error: openssl/err.h: No such file or directory vpnc.c: In
> function ‘do_phase1’:
> vpnc.c:1186: error: ‘X509’ undeclared (first use in this function)
> Any suggestions for fixing this would be gratefully accepted.
> TIA,
> Don Raikes
> http://WorkingWithGnome.blogspot.com

It looks like you are missing the openssl header files. They should be in 
a package with "ssl-dev" somewhere in the name.


More information about the ubuntu-users mailing list