Received: from mail.bildbasen.kiruna.se (bs1.bildbasen.kiruna.se [193.45.225.97]) by hub.org (8.8.8/8.7.5) with SMTP id LAA12979 for ; Tue, 3 Mar 1998 11:51:46 -0500 (EST) Received: (qmail 17347 invoked from network); 3 Mar 1998 16:51:11 -0000 Received: from guevara.bildbasen.se (HELO bildbasen.se) (goran@193.45.225.110) by bs1.bildbasen.se with SMTP; 3 Mar 1998 16:51:11 -0000 Sender: goran Message-ID: <34FC34F8.8A8DDAD5@bildbasen.se> Date: Tue, 03 Mar 1998 17:51:04 +0100 From: Goran Thyni Organization: JMS Bildbasen i Kiruna AB X-Mailer: Mozilla 4.04 [en] (X11; U; Linux 2.0.33 i686) MIME-Version: 1.0 To: Larry Anderson CC: pgsql-interfaces@postgreSQL.org, pgsql-patches@postgreSQL.org Subject: Re: [INTERFACES] pgaccess fails to start References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Larry Anderson wrote: > > Hi, > I just built and installed Postgre SQL 6.3 and pgaccess now fails to start. I > am running Redhat 5.0, and have built all of Postgre from scratch. I am > getting the following error with pgaccess 0.82. > > Error in startup script: couldn't load file "libpgtcl.so": > /usr/local/pgsql/lib/libpq.so: undefined symbol: crypt > while executing > "load libpgtcl.so" > (procedure "main" line 3) > invoked from within > "main $argc $argv" > (file "pgaccess.tcl" line 4441) > > I am able to connect fine with psql. But any other tool seems to be failing. > Thanks for any help, I just started using pgaccess and am bummed that it no > longer works. > I relink libpq-1.1.so with -lcrypt and it worked. Patch generated in src/interfaces/libpq below. Don't know generic it is? regards, -- --------------------------------------------- Göran Thyni, sysadm, JMS Bildbasen, Kiruna ------- snip ----------------------------- *** Makefile.in.orig Tue Mar 3 17:48:25 1998 --- Makefile.in Tue Mar 3 17:48:58 1998 *************** *** 87,93 **** $(MAKE) -C $(SRCDIR)/backend fmgr.h $(shlib): $(OBJS) ! $(LD) $(LDFLAGS_SL) -o $@ $(OBJS) ln -sf $@ libpq.so --- 87,93 ---- $(MAKE) -C $(SRCDIR)/backend fmgr.h $(shlib): $(OBJS) ! $(LD) $(LDFLAGS_SL) -o $@ $(OBJS) -lcrypt ln -sf $@ libpq.so