• 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: Nick Zitzmann <email@hidden>
  • Date: Mon, 13 Oct 2008 19:12:51 -0600


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



_______________________________________________
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


  • Follow-Ups:
    • Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
      • From: Rich Collyer <email@hidden>
    • Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
      • From: Rich Collyer <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>)

  • Prev by Date: Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
  • Next by Date: STL 4.0 in GCC 4.2
  • Previous by thread: Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
  • Next by thread: Re: Undefined symbols: "_fputs$UNIX2003", referenced from:
  • Index(es):
    • Date
    • Thread