From: | "Jasbinder Bali" <jsbali(at)gmail(dot)com> |
---|---|
To: | "Joe Conway" <mail(at)joeconway(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Dynamic loading of C functions: Badly stuck |
Date: | 2006-06-21 18:44:38 |
Message-ID: | a47902760606211144hd526e8am58dc54fba6e9c061@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I've disabled my SELinux and now postgres is being able to access the shared
library i.e test.so file.
Don't know if thats the right way to do it or not.
PS: I'm using Fedora core 2 OS
Thanks,
~Jas
On 6/21/06, Joe Conway <mail(at)joeconway(dot)com> wrote:
>
> Jasbinder Bali wrote:
> > Now the error is different. It cries something on the permissions.
> >
> > ERROR: could not load library "/usr/include/pgsql/server/test.so":
> > /usr/include/pgsql/server/test.so: failed to map segment from shared
> > object: Permission denied
> >
> > Can you comment on this?
>
> What does
> ls -l /usr/include/pgsql/server/test.so
> show?
>
> Does the postgres user (or whomever postgres is running as) have the
> ability to read the file?
>
> Joe
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-06-21 19:29:30 | Re: Dynamic loading of C functions: Badly stuck |
Previous Message | Greg Gazanian | 2006-06-21 18:24:55 | Bitwise OR in a group statement |