X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/250466e58e229dcebbb32c9888aeb197fd4072d3..cddded9569d2c5b5c9e82a7bdbb3669be6e23b25:/db/README?ds=sidebyside diff --git a/db/README b/db/README index 4e705e8fb..447c63651 100644 --- a/db/README +++ b/db/README @@ -33,11 +33,11 @@ Run this command in the db/functions directory: $ make Make sure the db/functions directory is on the MySQL server's library -path and restart the MySQL server. On linux the easiest way to do this -is to create /etc/ld.so.conf.d/osm.conf and place the path to the -db/functions directory in it and then run the following command as root: +path and restart the MySQL server. -$ ldconfig +On Linux the easiest way to do this is to create /etc/ld.so.conf.d/osm.conf, and place the path to the db/functions directory in it and then run the ldconfig command as root. + +On OS X: sudo ln -s /path_to_your_osm_install/sites/rails_port/db/functions/libmyosm.so /usr/local/lib/libmyosm.so Now create the functions as follows: