Re: BUG #1072: "$libdir/ascii_and_mic": No such file or directory

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Thomas Borg Salling" <tbs(at)navicon(dot)dk>
Cc: "'PostgreSQL Bugs List'" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #1072: "$libdir/ascii_and_mic": No such file or directory
Date: 2004-02-02 17:18:59
Message-ID: 14162.1075742339@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Thomas Borg Salling" <tbs(at)navicon(dot)dk> writes:
> ascii_and_mic.so lives i /opt/postgres-7.4.1/lib, and ldd yields:

> [root(at)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Borg Salling 2004-02-02 17:30:36 Re: BUG #1072: "$libdir/ascii_and_mic": No such file or directory
Previous Message Thomas Borg Salling 2004-02-02 17:09:47 Re: BUG #1072: "$libdir/ascii_and_mic": No such file or directory