[OSM-dev] Google Summer of Code

Arindam Ghosh makghosh at gmail.com
Sat Apr 26 23:11:42 BST 2008


On Fri, Apr 25, 2008 at 1:03 PM, Tom Hughes <tom at compton.nu> wrote:
> In message <8990327d0804242031wad1c290j666fd828b7ae961a at mail.gmail.com>
>
>         Arindam Ghosh <makghosh at gmail.com> 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




More information about the dev mailing list