• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Statically link libmysqlclient.a to my Foundation tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:32:56 -0700
  • Acceptlanguage: en-US
  • Thread-topic: Statically link libmysqlclient.a to my Foundation tool

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 Livermore National Laboratory
P: 925-422-0197







On 8/20/10 11:26 AM, "Heizer, Charles" <email@hidden> wrote:

>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
>

_______________________________________________

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

References: 
 >Re: Statically link libmysqlclient.a to my Foundation tool (From: "Heizer, Charles" <email@hidden>)

  • Prev by Date: Re: Core Animation. issue with scaling
  • Next by Date: Re: Core Data Lightweight Migration Woes
  • Previous by thread: Re: Statically link libmysqlclient.a to my Foundation tool
  • Next by thread: Embedding a system preference pane
  • Index(es):
    • Date
    • Thread