Re: psql error: psql: symbol lookup error: psql: undefined symbol: PQconnectdbParams - Mailing list pgsql-general

From hosuresh
Subject Re: psql error: psql: symbol lookup error: psql: undefined symbol: PQconnectdbParams
Date
Msg-id 1325077438786-5105203.post@n5.nabble.com
Whole thread Raw
In response to Re: psql error: psql: symbol lookup error: psql: undefined symbol: PQconnectdbParams  (John R Pierce <pierce@hogranch.com>)
Responses Re: Re: psql error: psql: symbol lookup error: psql: undefined symbol: PQconnectdbParams
List pgsql-general
Hello John R Pierce,

 When i run the

 $su - postgres
 #which psql

 Its dispalying like:

 [root@CentOS-60-32-minimal ]# su - postgres
 -bash-4.1$ which psql
  /usr/bin/psql

and for $ ldd $(which psql) command it displaying like

        -bash-4.1$ ldd $(which psql)
        linux-gate.so.1 =>  (0x00112000)
        libpq.so.5 => /usr/lib/libpq.so.5 (0x005b5000)
        libssl.so.10 => /usr/lib/libssl.so.10 (0x00f22000)
        libreadline.so.6 => /lib/libreadline.so.6 (0x0082e000)
        libc.so.6 => /lib/libc.so.6 (0x001f2000)
        libcrypto.so.10 => /usr/lib/libcrypto.so.10 (0x009cf000)
        libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x0039d000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00de2000)
        libldap_r-2.4.so.2 => /lib/libldap_r-2.4.so.2 (0x00113000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00e42000)
        libkrb5.so.3 => /lib/libkrb5.so.3 (0x00c86000)
        libcom_err.so.2 => /lib/libcom_err.so.2 (0x0046f000)
        libk5crypto.so.3 => /lib/libk5crypto.so.3 (0x0092f000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00e24000)
        libdl.so.2 => /lib/libdl.so.2 (0x00dd2000)
        libz.so.1 => /lib/libz.so.1 (0x008d7000)
        libtinfo.so.5 => /lib/libtinfo.so.5 (0x00bf8000)
        /lib/ld-linux.so.2 (0x00ba1000)
        libkrb5support.so.0 => /lib/libkrb5support.so.0 (0x00f99000)
        libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00166000)
        libfreebl3.so => /usr/lib/libfreebl3.so (0x0095f000)
        liblber-2.4.so.2 => /lib/liblber-2.4.so.2 (0x00be1000)
        libssl3.so => /usr/lib/libssl3.so (0x0066e000)
        libsmime3.so => /usr/lib/libsmime3.so (0x00169000)
        libnss3.so => /usr/lib/libnss3.so (0x00473000)
        libnssutil3.so => /usr/lib/libnssutil3.so (0x00194000)
        libplds4.so => /lib/libplds4.so (0x00e62000)
        libplc4.so => /lib/libplc4.so (0x001ae000)
        libnspr4.so => /lib/libnspr4.so (0x001b3000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00382000)
        libselinux.so.1 => /lib/libselinux.so.1 (0x003db000)



  is it the path problem...??

-----




Regards,
Suresh Hosur
--
View this message in context:
http://postgresql.1045698.n5.nabble.com/psql-error-psql-symbol-lookup-error-psql-undefined-symbol-PQconnectdbParams-tp5104950p5105203.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

pgsql-general by date:

Previous
From: hosuresh
Date:
Subject: Re: psql error: psql: symbol lookup error: psql: undefined symbol: PQconnectdbParams
Next
From: Greg Donald
Date:
Subject: Re: PostgreSQL 9.1 pg_dump setval() sets wrong value