Search Postgresql Archives

Re: Dynamic loading of C functions: Badly stuck

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Jasbinder Bali" <jsbali@xxxxxxxxx> writes:
> 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.

It's not.  Almost certainly, SELinux is keying the rejection off the
fact that you have the .so file in the wrong place, ie, not a place that
postgres is supposed to be reading executables from.

Put it in $libdir and everything will be much better.  (You might also
need to run restorecon on it, not sure.)  "pg_config --pkglibdir" will
tell you where that is.

			regards, tom lane


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux