On Fri, Apr 25, 2008 at 1:03 PM, Tom Hughes <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]>
>
>         Arindam Ghosh <[EMAIL PROTECTED]> wrote:
>
>
> > create function tile_for_point returns integer soname 'libmyosm.so';
>  > create function maptile_for_point returns integer soname 'libmyosm.so';
>  >
>  > These two are returning with "ERROR 1126 (HY000): Can't open shared
>  > library 'libmyosm.so' (errno: 22 libmyosm.so: cannot open shared
>  > object file: Permission denied)"
>  >
>  > Note that, svn local copy is owned by a local user and i'm trying to
>  > create the function in mysql from root/administrator mode. I created
>  > /etc/ld/so/conf.d/osm.conf and did ldconfig as given on the wiki. But
>  > its' giving the error for libmyosm.so (permission: 777). I am using
>  > mysql rpm from the Fedora repository. Can anyone point out what's
>  > going wrong.
>
>  Don't forget that the MySQL daemon won't be running as root, it
>  will be running as mysql. So the mysql user will probably need to
>  be able to open that file. As the file is 777 that should be
>  possible so most likely something on the path to the file does
>  not have search permission for the mysql user.

yeah....fixing the search permission for mysql user resolved this

--Arindam

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to