pg-redis-fdw / redis_fdw

A PostgreSQL foreign data wrapper for Redis
494 stars 68 forks source link

libhiredis.so.0.13: cannot open shared object file #10

Closed SanjanaSridhar closed 9 years ago

SanjanaSridhar commented 9 years ago

Hello,

I'm just getting started with integrating Redis and postgresql. I have hiredis - the C client library installed and also the redis fdw. When I try to create the extension though I get the following error:

ERROR: could not load library "/usr/lib/postgresql/9.3/lib/redis_fdw.so": libhiredis.so.0.13: cannot open shared object file: No such file or directory

libhiredis.so.0.13 is currently in the directory /usr/local/lib.

Any help will be greatly appreciated. Thank you

adunstan commented 9 years ago

You might need to set LD_LIBRARY_PATH for the running postgres, or add the directory to /etc/ld.so.conf, or something similar.