Subject: Re: Further questions about PostgreSQL
To: None <port-mac68k@netbsd.org>
From: Sergey N. Ivanov <sergey57@bigfoot.com>
List: port-mac68k
Date: 06/11/1999 09:08:33
At 03:16 +0400 10.06.99, Henry B. Hotz wrote:
>At 3:27 PM -0700 6/5/99, Sergey N. Ivanov wrote:
>>	First I'm going to ask a question: my pgaccess failed with message:
>>/usr/libexec/ld.so: Undefined symbol "_crypt" in
>>wish8.0:/usr/pkg/pgsql/lib/libpq.so.2.0
>
>This is probably a missing -lcrypt somewhere in some makefile.  Perhaps a
>problem using the "export" version of NetBSD, but don't know.
>

You are right! As it stated in postgresql-6.4.2/src/bin/pgaccess/index.html,

>PostgreSQL 6.4 release has a minor bug. I does not
>includ by default the crypt lib when compiling libpgtcl. So, you will need
>to manually add a -lcrypt to SHLIB line in Makefile in src/interfaces/libpgtcl
>and then make clean and make again. The new libpgtcl.so library is properly
>configured to run pgaccess.

I was to read documentation more carefully. Now I have not any problem with
pgaccess, thank you and thanks to Constantin Teodorescu.
	Sergey Ivanov