• 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: Undefined symbols: "_fputs$UNIX2003", referenced from:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Undefined symbols: "_fputs$UNIX2003", referenced from:


  • Subject: Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
  • From: Rich Collyer <email@hidden>
  • Date: Tue, 14 Oct 2008 07:39:43 -0700

I am scratching my head a bit here. I tried the suggestion below and I still got the errors. So I opened the library with HexEdit and found that there are $UNIX2003 references in several places in the library.

My next attempt is to dig up a 10.4 machine and do the build on a machine that does not know 10.5 exists.

+++++++++++++++++++++++
Rich Collyer
Senior Software Engineer
IronKey, Inc.
email@hidden
+++++++++++++++++++++++



On Oct 13, 2008, at 6:12 PM, Nick Zitzmann wrote:


On Oct 13, 2008, at 6:39 PM, Rich Collyer wrote:

It looks like part of my problem may be that XCode is forcing me to link against the libcrypto library that comes with the OS, even though I state a specific search path and have the - search_paths_first flag set.

XCode is adding a -lcrypto flag into the linking command, which I am guessing is a way to force the use of the system libcrypto library.


Yeah, that would do it. Unfortunately there is no way to get the linker to prefer static libraries over dynamic ones.

There is, however, a workaround. Instead of including your static library in the project, take it out and add the path to the library as a linker flag. That will force a static link of the library.

Nick Zitzmann
<http://seiryu.home.comcast.net/>




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Undefined symbols: "_fputs$UNIX2003", referenced from: (From: Rich Collyer <email@hidden>)
 >Re: Undefined symbols: "_fputs$UNIX2003", referenced from: (From: Nick Zitzmann <email@hidden>)
 >Re: Undefined symbols: "_fputs$UNIX2003", referenced from: (From: Rich Collyer <email@hidden>)
 >Re: Undefined symbols: "_fputs$UNIX2003", referenced from: (From: "Wesley Smith" <email@hidden>)
 >Re: Undefined symbols: "_fputs$UNIX2003", referenced from: (From: Rich Collyer <email@hidden>)
 >Re: Undefined symbols: "_fputs$UNIX2003", referenced from: (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Interface Builder class instantiation
  • Next by Date: Re: A little bug with code completion
  • Previous by thread: Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
  • Next by thread: Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
  • Index(es):
    • Date
    • Thread