Re: Library conflicts with DarwinPorts
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