psql:relocation error:psql:unfefined symbol: PQgetssl 
Author Message
 psql:relocation error:psql:unfefined symbol: PQgetssl

Quote:

> I have installed version 7.3 on a Linux Red Hat 8.0 machine
> I've used the configure script with the 2 options: --with-CXX --enable-odbc
>  I have the database running correctly in the foreground with the command:
>     ./postmaster -D /datapath
> but if I run it in the backgroud with the command:
>     ./pg_ctl -D /datapath -l /tmp/pgsql.log start
> the postmaster is running correctly and I can create a testdb database
> but when I try to connect to it with the command:
>     psql testdb
> I get the message:
>     psql:relocation error:psql:unfefined symbol: PQgetssl
> and psql exits.

You haven't configured it to use ssl, but your psql seems to want it, so
it seems likely that you have a psql from some other source that is
using the libpq library you have just built and is not finding the
symbols that it wants.

Check which version of psql is being run (`which psql' or `type psql' or
`whereis psql').  Make sure your own version is found in the search path
before any other version.

--

Isle of Wight, UK                             http://www.***.com/
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "I love them that love me; and those that seek me early
      shall find me."                Proverbs 8:17

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster



Tue, 21 Jun 2005 20:31:47 GMT
 psql:relocation error:psql:unfefined symbol: PQgetssl

Quote:

> Check which version of psql is being run (`which psql' or `type psql' or
> `whereis psql').  Make sure your own version is found in the search path
> before any other version.

Also, check to see which copy of libpq it's finding ('ldd' will help
here).  You may need to adjust your library search path to find the
right libpq (see 'ldconfig').

                        regards, tom lane

---------------------------(end of broadcast)---------------------------



Wed, 22 Jun 2005 04:06:09 GMT
 
 [ 2 post ] 

 Relevant Pages 

1. psql: relocation error: psql: undefined symbol: PQgetssl

2. NW server abend - P.SQL 2000 SP3 client to P.SQL 2000 SP2 server

3. Upgarding P.SQL 7 to P.SQL 2000

4. Using Psql 7 and PSQL 2000 together

5. Migrating from PSQL 7 to PSQL 2000

6. How do I uninstall P.SQL 2000 SP2 and replace it with P.SQL 7

7. pgsql/src/bin psql/Tag: psql/REL7_2_STABLE psq ...

8. esql - relocation error - undefined symbol: stat (RH7.3) problem

9. Error 10057 / Error 3111 Accessing PSQL2K SP1 With PSQL SP3 Client

10. how to detect psql's errors?

11. psql error: file to large!

12. psql runtime error on Windows 2000


 
Powered by phpBB® Forum Software