Re: BUG #1072: "$libdir/ascii_and_mic": No such file or directory - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1072: "$libdir/ascii_and_mic": No such file or directory
Date
Msg-id 14162.1075742339@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #1072: "$libdir/ascii_and_mic": No such file or directory  ("Thomas Borg Salling" <tbs@navicon.dk>)
Responses Re: BUG #1072: "$libdir/ascii_and_mic": No such file or directory
List pgsql-bugs
"Thomas Borg Salling" <tbs@navicon.dk> writes:
> ascii_and_mic.so lives i /opt/postgres-7.4.1/lib, and ldd yields:

> [root@hubertus lib]# ldd ascii_and_mic.so=20
>         libc.so.6 =3D> /lib/i686/libc.so.6 (0x42000000)
>         /lib/ld-linux.so.2 =3D> /lib/ld-linux.so.2 (0x80000000)

Hmm, nothing wrong with the library file itself then.  So why isn't
initdb able to load it?  The only thing I can think of is some
environment difference between your postgres account and your root
account that affects dynamic linking.  Better look at LD_LIBRARY_PATH
discrepancies, for instance.  You might try running ldd as postgres
instead of root to see if it gives a different answer.  Also you might
want to add /opt/postgres-7.4.1/lib/ to your ldconfig search path.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Thomas Borg Salling"
Date:
Subject: Re: BUG #1072: "$libdir/ascii_and_mic": No such file or directory
Next
From: "Thomas Borg Salling"
Date:
Subject: Re: BUG #1072: "$libdir/ascii_and_mic": No such file or directory