[Slackbuilds-users] PostgreSQL - multiple installed versions

Audrius Kažukauskas audrius at neutrino.lt
Sun Sep 29 13:13:02 UTC 2013


On Thu, 2013-09-19 at 12:58:54 +0200, Adis Nezirovic wrote:
> Great, I've restored the line for explicit permissions of DATADIR and added
> a few tips for upgrade in README.SBo
> See attached archive.

I have successfully upgraded from 9.2.4 to 9.3.0 and then encountered the
problem: while psycopg2 (Python DB adapter for Postgres) builds fine,
trying to use it results in the following error:

  ImportError: libpq.so.5: cannot open shared object file: No such file
  or directory

Quick remedy was to add LD_LIBRARY_PATH=/usr/lib/postgresql/9.3/lib to
the init script for my webapps, but is there a better solution for this?

-- 
Audrius Kažukauskas
http://neutrino.lt/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20130929/49866919/attachment.asc>


More information about the SlackBuilds-users mailing list