pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: [INTERFACES] crypt error
3+ messages / 3 participants
[nested] [flat]

* Re: [INTERFACES] crypt error
@ 1999-07-10 06:28  Constantin Teodorescu <teo@flex.ro>
  parent: Ahmad Munif <munif@dnet.net.id>
  1 sibling, 0 replies; 3+ messages in thread

From: Constantin Teodorescu @ 1999-07-10 06:28 UTC (permalink / raw)
  To: Ahmad Munif <munif@dnet.net.id>; pgsql-interfaces

Ahmad Munif wrote:
> 
> hallo,
> 
> i've already compiled postgresql 6.5.
> i'd a problem when i run pgaccess.
> always appeared error messages :
> 
> " Error in startup script : couldn't load
>   file "libpgtcl.so"; /usr/local/pgsql/libpgtcl.so :
>  undefined symbol :crypt "
> 
> how to fix it ?

Go to the PostgreSQL 6.5 source directory and
$ cd src/interfaces/libpgtcl
Edit the Makefile adding -lcrypt to the end of the line "SHLIB_LINK+=
_L../libpq -lpq"

Make clean and make again and then make install
The libpgtcl.so library is now prepared to work fine!

Best regards,
-- 
Constantin Teodorescu
FLEX Consulting Braila, ROMANIA



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

* crypt error
@ 1999-07-10 06:52  Ahmad Munif <munif@dnet.net.id>
  0 siblings, 2 replies; 3+ messages in thread

From: Ahmad Munif @ 1999-07-10 06:52 UTC (permalink / raw)
  To: pgsql-interfaces

hallo,

i've already compiled postgresql 6.5.
i'd a problem when i run pgaccess.
always appeared error messages :

" Error in startup script : couldn't load
  file "libpgtcl.so"; /usr/local/pgsql/libpgtcl.so :
 undefined symbol :crypt "

how to fix it ?


thanks.



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

* Re: [INTERFACES] crypt error
@ 1999-07-10 11:01  Philippe Chaintreuil <peep@thefront.com>
  parent: Ahmad Munif <munif@dnet.net.id>
  1 sibling, 0 replies; 3+ messages in thread

From: Philippe Chaintreuil @ 1999-07-10 11:01 UTC (permalink / raw)
  To: Ahmad Munif <munif@dnet.net.id>; +Cc: pgsql-interfaces

On Sat, 10 Jul 1999, Ahmad Munif wrote:
> i've already compiled postgresql 6.5.
> i'd a problem when i run pgaccess.
> always appeared error messages :
> 
> " Error in startup script : couldn't load
>   file "libpgtcl.so"; /usr/local/pgsql/libpgtcl.so :
>  undefined symbol :crypt "
> 
> how to fix it ?

	Make sure you link to the crypt library too.  For instance, I use
g++, and to compile the Postgres program I'm working on, the command line
is:

		g++ test.cpp -o test.cgi -lpq -lpq++ -lcrypt

	Where test.cpp is my source file, test.cgi is the executable I
want, and -lpq, -lpq++ and -lcrypt are the Postgres libraries I need for
Postgres to work right.  If this doesn't clear it up enough, write back.

   -- Philippe Chaintreuil
      peep@thefront.com




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


end of thread, other threads:[~1999-07-10 11:01 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-07-10 06:52 crypt error Ahmad Munif <munif@dnet.net.id>
1999-07-10 06:28 ` Constantin Teodorescu <teo@flex.ro>
1999-07-10 11:01 ` Philippe Chaintreuil <peep@thefront.com>

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