Library conflicts with DarwinPorts
Library conflicts with DarwinPorts
- Subject: Library conflicts with DarwinPorts
- From: Paul Kim <email@hidden>
- Date: Sat, 25 Mar 2006 12:20:25 -0500
Hi,
I'm running into a problem with conflicting versions of OpenSSL
(libcrypto in particular). I do have OpenSSL from darwinports installed.
In my project, I've added libcrypto from /usr/lib - not the
DarwinPorts version. Since this is an app that will be distributed, I
need to link against the standard libcrypto that ships with OS X.
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.
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.
I have to say that constantly activating/deactivating openssl in DP
is getting tedious going back and forth from builds to checkins.
Thanks,
paul
_______________________________________________
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