Talk About Network

Google




Play Stock Market Games
Fantasy Stock Picking Contest

Data Bases > Pgsql Admin > "missing" libra...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 4909 of 5167
Post > Topic >>

"missing" library file

by tsakai@[EMAIL PROTECTED] ("Tena Sakai") Apr 14, 2008 at 01:05 PM

This is a multi-part message in MIME format.

------_=_NextPart_001_01C89E6A.E94FFCA2
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Everybody,

My postgres version:
PostgreSQL 8.3.0 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) =
3.4.6 20060404 (Red Hat 3.4.6-3)

I can reindex a table from psql.  At psql prompt,
I type: reindex table foo;
and it returns
REINDEX
followed by another prompt.

I am trying to get the same thing done via cron.
As I do so what happens is that I get the message:
error while loading shared libraries: libpq.so.5: cannot open shared =
object file: No such file or directory

As non privileged user (as well as user postgres)
I can type:
ls -l ~postgres/lib/libpq*
and get:

-rw-r--r--  1 root root 210218 Feb 13 17:01 /usr/local/pgsql/lib/libpq.a
lrwxrwxrwx  1 root root     12 Mar 24 12:12 =
/usr/local/pgsql/lib/libpq.so -> libpq.so.5.1
lrwxrwxrwx  1 root root     12 Mar 24 12:12 =
/usr/local/pgsql/lib/libpq.so.5 -> libpq.so.5.1
-rwxr-xr-x  1 root root 137944 Feb 13 17:01 =
/usr/local/pgsql/lib/libpq.so.5.1

~postgres is /usr/local/pgsql which is a
symbolic link to /pgsql/pgsql.  Is this a cause
of the problem?  And how would I "fix" this from
crontab?

Regards,

Tena Sakai
tsakai@[EMAIL PROTECTED]
 text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7651.59">
<TITLE>&quot;missing&quot; library file</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>Hi Everybody,<BR>
<BR>
My postgres version:<BR>
PostgreSQL 8.3.0 on x86_64-unknown-linux-gnu, compiled by GCC gcc (GCC) =
3.4.6 20060404 (Red Hat 3.4.6-3)<BR>
<BR>
I can reindex a table from psql.&nbsp; At psql prompt,<BR>
I type: reindex table foo;<BR>
and it returns<BR>
REINDEX<BR>
followed by another prompt.<BR>
<BR>
I am trying to get the same thing done via cron.<BR>
As I do so what happens is that I get the message:<BR>
error while loading shared libraries: libpq.so.5: cannot open shared =
object file: No such file or directory<BR>
<BR>
As non privileged user (as well as user postgres)<BR>
I can type:<BR>
ls -l ~postgres/lib/libpq*<BR>
and get:<BR>
<BR>
-rw-r--r--&nbsp; 1 root root 210218 Feb 13 17:01 =
/usr/local/pgsql/lib/libpq.a<BR>
lrwxrwxrwx&nbsp; 1 root root&nbsp;&nbsp;&nbsp;&nbsp; 12 Mar 24 12:12 =
/usr/local/pgsql/lib/libpq.so -&gt; libpq.so.5.1<BR>
lrwxrwxrwx&nbsp; 1 root root&nbsp;&nbsp;&nbsp;&nbsp; 12 Mar 24 12:12 =
/usr/local/pgsql/lib/libpq.so.5 -&gt; libpq.so.5.1<BR>
-rwxr-xr-x&nbsp; 1 root root 137944 Feb 13 17:01 =
/usr/local/pgsql/lib/libpq.so.5.1<BR>
<BR>
~postgres is /usr/local/pgsql which is a<BR>
symbolic link to /pgsql/pgsql.&nbsp; Is this a cause<BR>
of the problem?&nbsp; And how would I &quot;fix&quot; this from<BR>
crontab?<BR>
<BR>
Regards,<BR>
<BR>
Tena Sakai<BR>
tsakai@[EMAIL PROTECTED]
>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C89E6A.E94FFCA2--
 




 2 Posts in Topic:
"missing" library file
tsakai@[EMAIL PROTECTED]   2008-04-14 13:05:39 
Re: "missing" library file
tsakai@[EMAIL PROTECTED]   2008-04-14 13:58:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Aug 8 13:09:28 CDT 2008.