Re: Statically link libmysqlclient.a to my Foundation tool
Re: Statically link libmysqlclient.a to my Foundation tool
- Subject: Re: Statically link libmysqlclient.a to my Foundation tool
- From: "Heizer, Charles" <email@hidden>
- Date: Fri, 20 Aug 2010 11:26:50 -0700
- Acceptlanguage: en-US
- Thread-topic: Statically link libmysqlclient.a to my Foundation tool
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/Release
-F/Users/local/Desktop/MySQLTest2/build/Release -filelist
/Users/local/Desktop/MySQLTest2/build/MySQLTest2.build/Release/MySQLTest2.b
uild/Objects-normal/i386/MySQLTest2.LinkFileList -mmacosx-version-min=10.5
/usr/local/lib/libmysqlclient.a -framework Foundation -lmysqlclient -o
/Users/local/Desktop/MySQLTest2/build/Release/MySQLTest2
Thanks,
Charles
--
Charles Heizer
Systems Management Solutions Group
Lawrence Livermore National Laboratory
P: 925-422-0197
On 8/20/10 11:14 AM, "Sherm Pendley" <email@hidden> wrote:
>On Fri, Aug 20, 2010 at 2:03 PM, Heizer, Charles <email@hidden> 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 did the link step have to say when you rebuilt your app? Did you
>try a clean & rebuild?
>
>sherm--
>
>--
>Cocoa programming in Perl:
>http://*camelbones.sourceforge.net
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden