• 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: Library conflicts with DarwinPorts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Library conflicts with DarwinPorts


  • Subject: Re: Library conflicts with DarwinPorts
  • From: Steve Checkoway <email@hidden>
  • Date: Tue, 28 Mar 2006 15:55:49 -0800


On Mar 25, 2006, at 9:20 AM, Paul Kim wrote:
Unfortunately, when I build, I get the following warning:
-----
/usr/bin/ld: warning can't open dynamic library: /Developer/SDKs/ MacOSX10.4u.sdk/opt/local/lib/libz.1.dylib referenced from: /opt/ local/lib/libcrypto.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
-----


And then subsequently an Undefineed symbols error for all the libcrypto stuff.

If I deactivate openssl in DarwinPorts, I can build (it finds the correct version of the library) but then I'm stuck unable to use Subversion (also from DarwinPorts) as it is dependent on the DP version.

Dealing with this is really quite annoying. And people _still_ claim that embedding the path of dependent libraries into other libraries and applications is the right thing to do rather than search library paths at runtime...


It seems like the only dynamic libraries can be Apple's since no one else can run applications you build that depend on other dynamic libraries if they've done something as innocuous as build them somewhere else.


Is there a way to force XCode to use the standard Apple libcrypto? I don't see any DYLD_LIBRARY_PATH or LD_LIBRARY_PATH set so I'm not even sure why it keeps insisting on using the DP version.

Does LDPATH include /opt/local/lib?

I have to say that constantly activating/deactivating openssl in DP is getting tedious going back and forth from builds to checkins.

Ugh, I can imagine.

- Steve

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: 
 >Library conflicts with DarwinPorts (From: Paul Kim <email@hidden>)

  • Prev by Date: Re: How do I remove breakpoints?
  • Next by Date: Re: Extra files in the bundle
  • Previous by thread: Library conflicts with DarwinPorts
  • Next by thread: Rez include problem
  • Index(es):
    • Date
    • Thread