Re: Statically link libmysqlclient.a to my Foundation tool

2010-08-20 Thread Heizer, Charles
I found it "-lmysqlclient" I removed the "libmysqlclient.a" from my external frameworks. And I was good to go. I had the "External Frameworks and Libraries" group closed so I did not see it. Thanks for all of your help! Charles -- Charles Heizer Systems Management Solutions Group Lawrence Liver

Re: Statically link libmysqlclient.a to my Foundation tool

2010-08-20 Thread Heizer, Charles
So I did a "Clean All" and here is what is in the link step. Ld build/Release/MySQLTest2 normal i386 cd /Users/heizer1/Desktop/MySQLTest2 setenv MACOSX_DEPLOYMENT_TARGET 10.5 /Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /Developer/SDKs/MacOSX10.5.sdk -L/Users/local/Desktop/MySQLTest2/build/Rele

Re: Statically link libmysqlclient.a to my Foundation tool

2010-08-20 Thread Sherm Pendley
On Fri, Aug 20, 2010 at 2:03 PM, Heizer, Charles wrote: > Thanks for the quick response. So I just tried this and I'm having the > same issue. > > I changed my "Other linker flags" as suggested and when I try to run this > without the libmysqlclient.dylib in my path it still complains ... What di

Re: Statically link libmysqlclient.a to my Foundation tool

2010-08-20 Thread Heizer, Charles
Thanks for the quick response. So I just tried this and I'm having the same issue. I changed my "Other linker flags" as suggested and when I try to run this without the libmysqlclient.dylib in my path it still complains ... /Users/local/Desktop/new/MySQLTest2  dyld: Library not loaded: libmysql.1

Re: Statically link libmysqlclient.a to my Foundation tool

2010-08-20 Thread Sherm Pendley
On Fri, Aug 20, 2010 at 1:26 PM, Heizer, Charles wrote: > > I have been googling for a while now and have tried a few suggestions I > have found in other like posts but have not had much success. > > I'm trying to create a stand alone Foundation tool which will connect to > MySQL and I can get thi

Statically link libmysqlclient.a to my Foundation tool

2010-08-20 Thread Heizer, Charles
Hello, I have been googling for a while now and have tried a few suggestions I have found in other like posts but have not had much success. I'm trying to create a stand alone Foundation tool which will connect to MySQL and I can get this to work if I link to the "libmysqlclient.dylib" library. Bu