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

From: "Thomas Borg Salling" <tbs(at)navicon(dot)dk>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 18:01:35
Message-ID: 001c01c3e9b6$996ad160$0101000a@Umulius
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Tom,

I didn't change my mind about prefix. I have tried to do everything by the
book.

[postgres(at)hubertus postgres]$ pg_config --pkglibdir
/opt/postgres-7.4.1//lib

Really weird.

One thing I have thought of is, shouldn't there be an etc directory in
/opt/postgres-7.4.1:

[postgres(at)hubertus postgres]$ ll /opt/postgres-7.4.1/
total 24
drwxr-xr-x 2 postgres postgres 4096 Feb 2 18:28 bin
drwxr-xr-x 3 postgres postgres 4096 Feb 2 18:01 doc
drwxr-xr-x 5 postgres postgres 4096 Feb 2 18:02 include
drwxr-xr-x 2 postgres postgres 4096 Feb 2 18:02 lib
drwxr-xr-x 4 postgres postgres 4096 Feb 2 18:01 man
drwxr-xr-x 2 postgres postgres 4096 Feb 2 18:27 share

?

Thanks for your effort!

Rgds
/Thomas.

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Monday, February 02, 2004 6:58 PM
To: Thomas Borg Salling
Cc: 'PostgreSQL Bugs List'
Subject: Re: [BUGS] BUG #1072: "$libdir/ascii_and_mic": No such file or
directory

"Thomas Borg Salling" <tbs(at)navicon(dot)dk> writes:
> for some reason - conversion_create.sql the $libdir is not defined. I
tried
> to print $libdir from bin/initdb, but this variable is empty.

$libdir is not an environment variable, it's a notation specially
recognized by CREATE FUNCTION. It should expand to the same directory
printed by "pg_config --pkglibdir". You might check what that prints.

The only other idea that comes to mind is that you changed your mind
about the install prefix during the installation and didn't do a full
rebuild. The PKGLIBDIR setting is hardwired into dfmgr.o at compile
time and maybe it didn't get recompiled.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2004-02-02 18:14:49 Re: BUG #1072: "$libdir/ascii_and_mic": No such file or directory
Previous Message Tom Lane 2004-02-02 17:58:16 Re: BUG #1072: "$libdir/ascii_and_mic": No such file or directory