pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgaccess fails to start
4+ messages / 3 participants
[nested] [flat]

* pgaccess fails to start
@ 1998-03-03 15:56 Larry Anderson <anderson@endinfosys.com>
  1998-03-03 16:51 ` Re: [INTERFACES] pgaccess fails to start Goran Thyni <goran@bildbasen.se>
  1998-03-03 16:55 ` Re: [INTERFACES] pgaccess fails to start Constantin Teodorescu <teo@flex.ro>
  0 siblings, 2 replies; 4+ messages in thread

From: Larry Anderson @ 1998-03-03 15:56 UTC (permalink / raw)
  To: pgsql-interfaces

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.

----------------------------------
E-Mail: Larry Anderson <anderson@endinfosys.com>
Date: 03-Mar-98
Time: 09:54:47

This message was sent by XFMail
----------------------------------



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [INTERFACES] pgaccess fails to start
  1998-03-03 15:56 pgaccess fails to start Larry Anderson <anderson@endinfosys.com>
@ 1998-03-03 16:51 ` Goran Thyni <goran@bildbasen.se>
  1998-03-03 17:38   ` Re: [INTERFACES] pgaccess fails to start Larry Anderson <anderson@endinfosys.com>
  1 sibling, 1 reply; 4+ messages in thread

From: Goran Thyni @ 1998-03-03 16:51 UTC (permalink / raw)
  To: Larry Anderson <anderson@endinfosys.com>; +Cc: pgsql-interfaces; pgsql-patches@postgreSQL.org

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 -----------------------------

inline patch 1: Makefile.in Tue Mar 3 17:48:58 1998 (+1/-1 lines) download inline-1.patch*** 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
^ permalink raw reply [nested|flat] 4+ messages in thread

* Re: [INTERFACES] pgaccess fails to start
  1998-03-03 15:56 pgaccess fails to start Larry Anderson <anderson@endinfosys.com>
  1998-03-03 16:51 ` Re: [INTERFACES] pgaccess fails to start Goran Thyni <goran@bildbasen.se>
@ 1998-03-03 17:38   ` Larry Anderson <anderson@endinfosys.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Larry Anderson @ 1998-03-03 17:38 UTC (permalink / raw)
  To: Goran Thyni <goran@bildbasen.se>; +Cc: pgsql-patches@postgreSQL.org; pgsql-interfaces

Wonderful this worked.  The patch wouldn't patch, but I saw where to add
it in the Makefile.  Thanks a lot.

On 03-Mar-98 Goran Thyni wrote:
> 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

----------------------------------
E-Mail: Larry Anderson <anderson@endinfosys.com>
Date: 03-Mar-98
Time: 11:08:57

This message was sent by XFMail
----------------------------------



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: [INTERFACES] pgaccess fails to start
  1998-03-03 15:56 pgaccess fails to start Larry Anderson <anderson@endinfosys.com>
@ 1998-03-03 16:55 ` Constantin Teodorescu <teo@flex.ro>
  1 sibling, 0 replies; 4+ messages in thread

From: Constantin Teodorescu @ 1998-03-03 16:55 UTC (permalink / raw)
  To: Larry Anderson <anderson@endinfosys.com>; +Cc: pgsql-interfaces

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

I think that you didn't compile /src/interfaces/libpgtcl

I have RedHat 4.2 installed and I have copied (manual) libpgtcl.so and
libpq.so into /lib. It might work.
It also wight be possible that under RedHat 5.0 some libraries have been
changed. I will try it on another RedHat 5.0 system

-- 
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~1998-03-03 17:38 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-03-03 15:56 pgaccess fails to start Larry Anderson <anderson@endinfosys.com>
1998-03-03 16:51 ` Goran Thyni <goran@bildbasen.se>
1998-03-03 17:38   ` Larry Anderson <anderson@endinfosys.com>
1998-03-03 16:55 ` Constantin Teodorescu <teo@flex.ro>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox