w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
RPostgreSQL installation Error - RPostgreSQL.so: undefined symbol: PQpass

The package RPostgreSQL checks for PostgreSQL libraries only in the following directory paths,

    /usr/lib 
/usr/lib/pgsql 
/usr/lib/postgresql 
/usr/local/lib 
/usr/local/lib/pgsql 
/usr/local/lib/postgresql 
/usr/local/pgsql/lib 
/usr/local/postgresql/lib 
/opt/lib 
/opt/lib/pgsql 
/opt/lib/postgresql 
/opt/local/lib 
/opt/local/lib/postgresql 
/opt/local/lib/postgresql84 
/sw/opt/postgresql-8.4/lib 
/Library/PostgresPlus/8.4SS/lib 
/sw/lib

It does not check for the directories either in LD_LIBRARY_PATH or in /etc/ld.so.conf.

So RPostgreSQL installation will be successful only if the PostgreSQL libraries exist in any of the above directories.

When I copied the libraries from /usr/lib64/pgsql to /usr/lib/pgsql and tried installing the package. It worked. :)





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.