Zope_Database_issue
smita kamdar <[email protected]> Thu, 18 Nov 2010 17:49:07 +0530
| Newsgroups | gmane.comp.web.zope.database |
|---|---|
| Message-ID | <[email protected]> |
--===============7007721748846996003== Content-Type: multipart/alternative; boundary=00151750edd4ec1ae1049552cbfb --00151750edd4ec1ae1049552cbfb Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi, I have installed Postgresql in the path '/home/postgres/7.4.13' & so i set the variable LD_Library_path =3D /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=3D/home/postgres/7.4.13/src/interfaces/libpq So i changed the value of variable as LD_Library_path =3D /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=85but I am really stuck... ---------- Forwarded message ---------- From: *Andreas Jung* <[email protected]> Date: Thu, Nov 18, 2010 at 2:46 PM Subject: Re: [Zope-DB] Zope_Database_issue To: smita kamdar <[email protected]> Cc: [email protected] -----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 =91 libpq.so.3=92 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* <[email protected] <mailto:[email protected]>> > Date: Thu, Nov 18, 2010 at 1:14 PM > Subject: Re: [Zope-DB] Zope_Database_issue > To: smita kamdar <[email protected] > <mailto:[email protected]>> > Cc: [email protected] <mailto:[email protected]> > > > 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 [email protected] 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=FCbingen | 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=3D =3D74eI -----END PGP SIGNATURE----- --00151750edd4ec1ae1049552cbfb Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable <div class=3D"gmail_quote"><br> <div lang=3D"EN-US" link=3D"blue" vlink=3D"blue"> <div> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">=A0</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">Hi,</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">=A0</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">I have installed Postg= resql in the path '/home/postgres/7.4.13' & so i set the variable</span></font></= p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">LD_Library_path =3D /home/postgres/7.4.13/lib. But this didnt work. I still got the same error.= </span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">=A0</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">=A0</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">At the time of install= ing psycopg, in the first step of installation i.e. </span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">=A0</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">./configure --prefix..= .</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">=A0</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">I gave one of the opti= ons as </span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">--with-postgres-librar= ies=3D/home/postgres/7.4.13/src/interfaces/libpq</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">=A0</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">So i changed the value= of variable as LD_Library_path =3D /home/postgres/7.4.13//home/postgres/7.4.13/src/interfaces/libpq </span></f= ont></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">But after that also i = am still facing the same problem. </span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">=A0</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">In both the paths give= n above, the library libpq.so.3 is present.</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">=A0</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">Any suggesstions as to= what value should I set LD_Library_path variable to?</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">=A0</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">I am very sorry if I a= m demanding too much=85but I am really stuck...</span></font></p> <p class=3D"MsoNormal"><font size=3D"3" color=3D"maroon" face=3D"Times New = Roman"><span style=3D"font-size:12.0pt;color:maroon">=A0</span></font></p> <div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><font size=3D"3" face= =3D"Times New Roman"><span style=3D"font-size:12.0pt">---------- Forwarded message ----------<br> From: <b><span style=3D"font-weight:bold">Andreas Jung</span></b> <<a hr= ef=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>><br> Date: Thu, Nov 18, 2010 at 2:46 PM<br> Subject: Re: [Zope-DB] Zope_Database_issue<br> To: smita kamdar <<a href=3D"mailto:[email protected]" target=3D"= _blank">[email protected]</a>><br> Cc: <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]<= /a><br> <br> </span></font></p> <div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><font size=3D"3" face= =3D"Times New Roman"><span style=3D"font-size:12.0pt">-----BEGIN PGP SIGNED MESSAGE-----<br> Hash: SHA1</span></font></p> </div> <p class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span styl= e=3D"font-size:12.0pt">Why can't you read short answers carefully?<br> Using the LD_LIBRARY_PATH environment variable is likely<br> the solution for your problem.<br> <br> - -aj</span></font></p> <div> <p class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span styl= e=3D"font-size:12.0pt"><br> smita kamdar wrote:<br> ><br> ><br> > HI,<br> ><br> ><br> ><br> > But I can see the library =91 libpq.so.3=92 in the Postgres lib direct= ory &<br> > also while installing Psycopg I gave the same path of Postgres library= .<br> ><br> > Now what else I need to do?<br> ><br> ><br> ><br> > Thanks a lot!!<br> ><br> ><br> ><br> > ---------- Forwarded message ----------</span></font></p> </div> <div> <p class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span styl= e=3D"font-size:12.0pt">> From: *Andreas Jung* <<a href=3D"mailto:list= [email protected]" target=3D"_blank">[email protected]</a> <mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">lists@zopyx= .com</a>>><br> > Date: Thu, Nov 18, 2010 at 1:14 PM<br> > Subject: Re: [Zope-DB] Zope_Database_issue<br> > To: smita kamdar <<a href=3D"mailto:[email protected]" targe= t=3D"_blank">[email protected]</a></span></font></p> </div> <div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><font size=3D"3" face= =3D"Times New Roman"><span style=3D"font-size:12.0pt">> <mailto:<a hr= ef=3D"mailto:[email protected]" target=3D"_blank">smita.kamdar00@gma= il.com</a>>><br> > Cc: <a href=3D"mailto:[email protected]" target=3D"_blank">zope-db@zope= .org</a> <mailto:<a href=3D"mailto:[email protected]" target=3D"_blank">z= [email protected]</a>><br> ><br> ><br> > smita kamdar wrote:<br> ><br> ><br> >> *ImportError: libpq.so.3: cannot open shared object file: No such = file<br> >> or directory*<br> ><br> ><br> > This error message is self-speaking - either the Postgres library is n= ot<br> > present or at a different place. Adjust your LD_LIBRARY_PATH as needed= <br> > or fix the location of the Postgres libs.<br> ><br> > -aj</span></font></p> </div> <p class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span styl= e=3D"font-size:12.0pt">_______________________________________________<br> Zope-DB mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a><= br> <a href=3D"https://mail.zope.org/mailman/listinfo/zope-db" target=3D"_blank= ">https://mail.zope.org/mailman/listinfo/zope-db</a><br> <br> <br> - --<br> ZOPYX Limited =A0 =A0 =A0 =A0 =A0 | zopyx group<br> Charlottenstr. 37/1 =A0 =A0 | The full-service network for Zope & Plone<br> D-72070 T=FCbingen =A0 =A0 =A0 =A0| Produce & Publish<br> <a href=3D"http://www.zopyx.com" target=3D"_blank">www.zopyx.com</a> =A0 = =A0 =A0 =A0 =A0 | <a href=3D"http://www.produce-and-publish.com" target=3D"_bla= nk">www.produce-and-publish.com</a><br> - ------------------------------------------------------------------------<= br> E-Publishing, Python, Zope & Plone development, Consulting</span></font= ></p> <div> <p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><font size=3D"3" face= =3D"Times New Roman"><span style=3D"font-size:12.0pt"><br> <br> -----BEGIN PGP SIGNATURE-----<br> Version: GnuPG v1.4.11 (Darwin)<br> Comment: Using GnuPG with Mozilla - <a href=3D"http://enigmail.mozdev.org/"= target=3D"_blank">http://enigmail.mozdev.org/</a></span></font></p> </div> <p class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span styl= e=3D"font-size:12.0pt">iQGUBAEBAgAGBQJM5O7pAAoJEADcfz7u4AZjK8gLwIZv94X7RjlM= a3J1mgC7RVk+<br> 3KJh1jG9C0lMTnEITlY5lQXkYkD8UGoU9NffrOenjm3mtqyt8XOQxkhXoBBTLxBI<br> T7yQ31p0Pf+NySxKyDbz3v3KxAeUjSQLHhj7WUGBAR0pHNxgX/fOIsiV/hg+pkES<br> RGbQoyuHO4IaX99T8L9e/9X+hlCvCGjLQN/WTO+F+24tqorxybpOQ/EOPmB+EJU4<br> ZsP/CR0tUqAs8AQnE8WN6p7olHDauqp2SHW0148ozLts3LWi5/9iO4NusUagr/Jn<br> riXQej2Aytu/5C6PtezgPfFBxBp4qOeOic28x8AYF0FXNWGjSnMv5eXbaSWMc7tI<br> tS+wREk6EdQZZL9omxOdE/2U4t5tFqh4vkgk6ggLo2goOaMTz+/kQoHoyWEhFuN6<br> uJvAh+cK82NcBXmbGvS8nvbEoYVZe3PQUcvG/az+jUI16Y/vGBTXdiLwgFDcPY6N<br> irIcMoyEEDn+9bwRoKPwKxfcaBOJxRw=3D<br> =3D74eI<br> -----END PGP SIGNATURE-----</span></font></p> </div> <p class=3D"MsoNormal"><font size=3D"3" face=3D"Times New Roman"><span styl= e=3D"font-size:12.0pt">=A0</span></font></p> </div> </div> <font class=3D"Apple-style-span" face=3D"monospace"><span class=3D"Apple-st= yle-span" style=3D"white-space: pre; -webkit-border-horizontal-spacing: 2px= ; -webkit-border-vertical-spacing: 2px; font-size: medium;"><br></span></fo= nt></div> --00151750edd4ec1ae1049552cbfb-- --===============7007721748846996003== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Zope-DB mailing list [email protected] https://mail.zope.org/mailman/listinfo/zope-db --===============7007721748846996003==--