Subject: Re: Postgres or Tk: which of these 2 fails?
To: None <ender@macbsd.com>
From: Sergey N. Ivanov <sergey57@bigfoot.com>
List: port-mac68k
Date: 06/10/1999 01:23:17
Hi Colin!
You see, there is not any precompiled binary in NetBSD package collection neither for Postgres, nor for Tcl and Tk. So I compiled it at my mac, using install scripts from package collection.
After receiving your question I look for '_crypt' symbol and I have seen it in /usr/pkg/lib/libpq.so.2.0 file. So, I think, Tcl and Tk are not involved in the problem.
But if I compile myself some object library with reference to '_crypt' this module must be installed in the includes in compile time? I search in all source files of Postgres by "grep -r /crypt *" and don't find! 
My /etc/ld.so.conf contains all libraries links of my NetBSD: /usr/lib, /usr/pkg/lib, /usr/pkg/pgsql/lib and /usr/X11R6/lib.

So I need your help. Where I can find this library with '_crypt' symbol, why it does not installed with Postgres and was not checked wether it exists in my system or not. 

WBR,
		Sergey Ivanov
 
At 00:15 +0400 9.06.99, Colin Wood wrote:
>Sergey N. Ivanov wrote:
>> I read at the PostgreSQL web site announce about 6.5 beta. It has ported
>> port to NetBSD/m68k by Mr. Mutsuki Nakajima. Will it run on mac68k? 
>> 
>> Really all I need about Postgres is tcl/tk graphic interface. I did not succeed in it's setup and it failed with error message:
>> 
>> /usr/libexec/ld.so: Undefined symbol "_crypt" in wish8.0:/usr/pkg/pgsql/lib/libpq.so.2.0
>> 
>> May be this problem concerns not Postgres but Tk?
>
>did you get a pre-compiled version of the postgres stuff?  if so, it looks
>like someone may have linked it with the libcrypt stuff (which they really
>shouldn't have done...)  if that's the case, you'll need to compile it
>yourself.
>
>later.
>
>colin