• 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: XCode 2.1 and building for 10.2.8
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode 2.1 and building for 10.2.8


  • Subject: Re: XCode 2.1 and building for 10.2.8
  • From: Scott Tooker <email@hidden>
  • Date: Tue, 30 Aug 2005 19:09:24 -0700

I've been working on this very problem (Xcode being to aggressive about resolving symlinks), and I'm hopeful that in the next version of Xcode file references will be able to point to symlinks correctly (instead of getting resolved too early).

By far, the most important case I've run into is having a file reference point to a symlink that represents the current library (like below).

Are there other common uses of symlinks in paths that you have been trying to get working in Xcode (but Xcode feverishly refuses to use the unresolved path)?

Scott

On Aug 26, 2005, at 12:40 PM, Sean McBride wrote:

On 2005-08-26 15:24, Matt DeFoor said:

I'm attempting to make a build for 10.2.8. The project links against
libcrypto and libssl. I made it link against them by dragging the
appropriate lib*.dylib symlinks from /usr/lib into my project. I set Mac
OS X 10.2.8 as the Cross-Develop Target. I also changed the compiler to
gcc3.3.


However, during the linking phase, I see this:

"-lcrypto.0.9.7" "-lssl.0.9.7"

And I get this undefined symbol:

_OpenSSL_add_all_algorithms

Am I instructing XCode to link libcrypto and libssl incorrectly? If not,
what else could be wrong?

I had a similar problem last week. Stop thinking like a Mac user, this
is Xcode. :) Instead of dragging them to the project, you must specify
in 'other linker flags' the following: "-lcrypto -lssl". That should do it.


--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________ 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

_______________________________________________ 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: XCode 2.1 and building for 10.2.8
      • From: "Sean McBride" <email@hidden>
    • Re: XCode 2.1 and building for 10.2.8
      • From: Matt DeFoor <email@hidden>
References: 
 >XCode 2.1 and building for 10.2.8 (From: Matt DeFoor <email@hidden>)
 >Re: XCode 2.1 and building for 10.2.8 (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: U vs. T in "nm -g" output..
  • Next by Date: Re: cross compile problems
  • Previous by thread: Re: XCode 2.1 and building for 10.2.8
  • Next by thread: Re: XCode 2.1 and building for 10.2.8
  • Index(es):
    • Date
    • Thread