From 681e96bc7db90d6d5ab369455d2a632b2d8e0023 Mon Sep 17 00:00:00 2001 From: Xin Zheng Date: Mon, 21 Jan 2008 17:43:56 +0000 Subject: [PATCH] added mac os x instructions for db function creation --- db/README | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: -- 2.39.5