On Oct 31, 2007, at 1:19 PM, Claude Biron wrote:
This isn't a porting issue per se, but I just upgraded to Leopard
and inadvertently broke my Xcode MySQL connection. I'm gettableing
the following runtime error:
dyld: Library not loaded: /usr/local/mysql/lib/mysql/libmysqlclient.
15.dylib
The problem is that there isn't a ".../lib/mysql/..." folder.
I've Googled this to death, and my kludge solution is to create
'mysql' in 'lib' and copy the dylib's there. When I try to do this
in terminal, I get Permission Denied.
The permissions for 'lib' is:
drwxr-xr-x 21 root wheel 714 Jul 4 10:54 lib
Can you tell me how to correct the permissions to allow creating
the 'mysql' folder in 'lib' so I can copy the files into it, to
correct the Xcode runtime error? OR .... is there an equally easy
other solution?
The permissions are correct; root is supposed to own /usr/local. The
solution is to create the directory (and copy the files) as root
(which you can do as long as you have an administrator account).
sudo(8) to the rescue.
So instead of
$ mkdir /usr/local/mysql/lib/mysql
you should do
$ sudo mkdir /usr/local/mysql/lib/mysql
and enter your password when asked.
I'll let someone else speak up as to whether there's a cleaner way
to solve your problem than moving files around; I don't have MySQL
(or Leopard) on my machine.
I just need / want to get an app I developed for myself to work
again under Leopard. Thanks in advance.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Jamison Hope
The PTR Group
www.theptrgroup.com