Re: Dynamic loading of C functions

From: "Jasbinder Bali" <jsbali(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Dynamic loading of C functions
Date: 2006-06-21 16:03:26
Message-ID: a47902760606210903k63cfeea2ld98636b5bf3831e8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I've tried everything so that my .so file is recognized but in vein.
Don't know whats going wrong.
~Jas

On 6/20/06, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> Bill Moran <wmoran(at)collaborativefusion(dot)com> writes:
> > In response to "Jasbinder Bali" <jsbali(at)gmail(dot)com>:
> >> I get the follwing error
> >> ERROR: could not access file "/usr/include/pgsql/server/test_func": No
> such
> >> file or directory
>
> > Check the permissions. Can the Postgres user read the file?
>
> The error is pretty clearly "file not found", not "no permissions".
>
> One possibility is that the complaint is not about this file itself
> but about some other shared library it depends on. Try "ldd" or
> local equivalent on the file to see if it shows any unresolved
> references.
>
> Also, you might try looking in the postmaster log to see if any
> additional info appears there --- anything the dynamic linker spit out
> to stderr is not going to appear on your terminal.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jasbinder Bali 2006-06-21 16:42:23 Dynamic loading of C functions: Badly stuck
Previous Message Martijn van Oosterhout 2006-06-21 14:45:57 Re: A slow query - Help please?