The getenv() function must be linked into your program from the Posix
runtime library RL. The following instructions were copied from
http://jazz.external.hp.com/papers/cgi-paper/cgiwhite.htm
PASXL PHONEP;YPHONE;LPHONE
LINK FROM=YPHONE;TO=./phonebook.pas;RL=/lib/libc.a;posix
If you don't link with /lib/libc.a then the getenv() function that will
be linked in will not be able to read the CGI environment variables.