[Zope-DB] Zope_Database_issue

smita kamdar smita.kamdar00 at gmail.com
Thu Nov 18 07:19:07 EST 2010


Hi,



I have installed Postgresql in the path '/home/postgres/7.4.13' & so i set
the variable

LD_Library_path = /home/postgres/7.4.13/lib. But this didnt work. I still
got the same error.





At the time of installing psycopg, in the first step of installation i.e.



./configure --prefix...



I gave one of the options as

--with-postgres-libraries=/home/postgres/7.4.13/src/interfaces/libpq



So i changed the value of variable as LD_Library_path =
/home/postgres/7.4.13//home/postgres/7.4.13/src/interfaces/libpq

But after that also i am still facing the same problem.



In both the paths given above, the library libpq.so.3 is present.



Any suggesstions as to what value should I set LD_Library_path variable to?



I am very sorry if I am demanding too much…but I am really stuck...



---------- Forwarded message ----------
From: *Andreas Jung* <lists at zopyx.com>
Date: Thu, Nov 18, 2010 at 2:46 PM
Subject: Re: [Zope-DB] Zope_Database_issue
To: smita kamdar <smita.kamdar00 at gmail.com>
Cc: zope-db at zope.org

 -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Why can't you read short answers carefully?
Using the LD_LIBRARY_PATH environment variable is likely
the solution for your problem.

- -aj


smita kamdar wrote:
>
>
> HI,
>
>
>
> But I can see the library ‘ libpq.so.3’ in the Postgres lib directory &
> also while installing Psycopg I gave the same path of Postgres library.
>
> Now what else I need to do?
>
>
>
> Thanks a lot!!
>
>
>
> ---------- Forwarded message ----------

> From: *Andreas Jung* <lists at zopyx.com <mailto:lists at zopyx.com>>
> Date: Thu, Nov 18, 2010 at 1:14 PM
> Subject: Re: [Zope-DB] Zope_Database_issue
> To: smita kamdar <smita.kamdar00 at gmail.com

> <mailto:smita.kamdar00 at gmail.com>>
> Cc: zope-db at zope.org <mailto:zope-db at zope.org>
>
>
> smita kamdar wrote:
>
>
>> *ImportError: libpq.so.3: cannot open shared object file: No such file
>> or directory*
>
>
> This error message is self-speaking - either the Postgres library is not
> present or at a different place. Adjust your LD_LIBRARY_PATH as needed
> or fix the location of the Postgres libs.
>
> -aj

_______________________________________________
Zope-DB mailing list
Zope-DB at zope.org
https://mail.zope.org/mailman/listinfo/zope-db


- --
ZOPYX Limited           | zopyx group
Charlottenstr. 37/1     | The full-service network for Zope & Plone
D-72070 Tübingen        | Produce & Publish
www.zopyx.com           | www.produce-and-publish.com
- ------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGUBAEBAgAGBQJM5O7pAAoJEADcfz7u4AZjK8gLwIZv94X7RjlMa3J1mgC7RVk+
3KJh1jG9C0lMTnEITlY5lQXkYkD8UGoU9NffrOenjm3mtqyt8XOQxkhXoBBTLxBI
T7yQ31p0Pf+NySxKyDbz3v3KxAeUjSQLHhj7WUGBAR0pHNxgX/fOIsiV/hg+pkES
RGbQoyuHO4IaX99T8L9e/9X+hlCvCGjLQN/WTO+F+24tqorxybpOQ/EOPmB+EJU4
ZsP/CR0tUqAs8AQnE8WN6p7olHDauqp2SHW0148ozLts3LWi5/9iO4NusUagr/Jn
riXQej2Aytu/5C6PtezgPfFBxBp4qOeOic28x8AYF0FXNWGjSnMv5eXbaSWMc7tI
tS+wREk6EdQZZL9omxOdE/2U4t5tFqh4vkgk6ggLo2goOaMTz+/kQoHoyWEhFuN6
uJvAh+cK82NcBXmbGvS8nvbEoYVZe3PQUcvG/az+jUI16Y/vGBTXdiLwgFDcPY6N
irIcMoyEEDn+9bwRoKPwKxfcaBOJxRw=
=74eI
-----END PGP SIGNATURE-----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-db/attachments/20101118/1874a073/attachment-0001.html 


More information about the Zope-DB mailing list