Port selfupate crypto lib problem
Thomas Crawley
thomas.crawley at verizon.net
Sun Jun 3 19:12:31 PDT 2007
Hi,
Thanks for the response
I am running Mac OS X 10.4.9 which I updated with some security fixes
this morning.
PowerBookG4667:~ tcrawley$ uname -a
Darwin PowerBookG4667.local 8.9.0 Darwin Kernel Version 8.9.0: Thu
Feb 22 20:54:07 PST 2007; root:xnu-792.17.14~1/RELEASE_PPC Power
Macintosh powerpc
I have the latest version of Xcode v 2.4.1 which I downloaded and
installed today while trying to address this problem.
The contents of /usr/include/openssl
PowerBookG4667:~ tcrawley$ ls -alt /usr/include/openssl/
total 2296
drwxr-xr-x 242 root wheel 8228 Jun 3 18:47 ..
drwxr-xr-x 69 root wheel 2346 Jun 3 14:41 .
-rw-r--r-- 1 root wheel 5927 Sep 11 2006 kssl.h
-rw-r--r-- 1 root wheel 75107 Sep 11 2006 ssl.h
-rw-r--r-- 1 root wheel 10716 Sep 11 2006 ssl2.h
-rw-r--r-- 1 root wheel 3744 Sep 11 2006 ssl23.h
-rw-r--r-- 1 root wheel 20937 Sep 11 2006 ssl3.h
-rw-r--r-- 1 root wheel 9141 Sep 11 2006 tls1.h
-rw-r--r-- 1 root wheel 4908 Sep 11 2006 fips.h
-rw-r--r-- 1 root wheel 2884 Sep 11 2006 fips_rand.h
-rw-r--r-- 1 root wheel 6922 Sep 11 2006 fips_sha.h
-rw-r--r-- 1 root wheel 1267 Sep 11 2006 comp.h
-rw-r--r-- 1 root wheel 7636 Sep 11 2006 krb5_asn.h
-rw-r--r-- 1 root wheel 23830 Sep 11 2006 ocsp.h
-rw-r--r-- 1 root wheel 12218 Sep 11 2006 pkcs12.h
-rw-r--r-- 1 root wheel 16892 Sep 11 2006 ui.h
-rw-r--r-- 1 root wheel 3439 Sep 11 2006 ui_compat.h
-rw-r--r-- 1 root wheel 26671 Sep 11 2006 asn1t.h
-rw-r--r-- 1 root wheel 9372 Sep 11 2006 conf.h
-rw-r--r-- 1 root wheel 4080 Sep 11 2006 conf_api.h
-rw-r--r-- 1 root wheel 24618 Sep 11 2006 pem.h
-rw-r--r-- 1 root wheel 2863 Sep 11 2006 pem2.h
-rw-r--r-- 1 root wheel 15793 Sep 11 2006 pkcs7.h
-rw-r--r-- 1 root wheel 4253 Sep 11 2006 txt_db.h
-rw-r--r-- 1 root wheel 44896 Sep 11 2006 x509.h
-rw-r--r-- 1 root wheel 16594 Sep 11 2006 x509_vfy.h
-rw-r--r-- 1 root wheel 23090 Sep 11 2006 x509v3.h
-rw-r--r-- 1 root wheel 40619 Sep 11 2006 asn1.h
-rw-r--r-- 1 root wheel 18383 Sep 11 2006 asn1_mac.h
-rw-r--r-- 1 root wheel 27580 Sep 11 2006 bio.h
-rw-r--r-- 1 root wheel 11977 Sep 11 2006 err.h
-rw-r--r-- 1 root wheel 33765 Sep 11 2006 evp.h
-rw-r--r-- 1 root wheel 7450 Sep 11 2006 lhash.h
-rw-r--r-- 1 root wheel 5423 Sep 11 2006 rand.h
-rw-r--r-- 1 root wheel 105865 Sep 11 2006 safestack.h
-rw-r--r-- 1 root wheel 4380 Sep 11 2006 stack.h
-rw-r--r-- 1 root wheel 4854 Sep 11 2006 aes.h
-rw-r--r-- 1 root wheel 4229 Sep 11 2006 buffer.h
-rw-r--r-- 1 root wheel 7768 Sep 11 2006 dh.h
-rw-r--r-- 1 root wheel 9769 Sep 11 2006 dsa.h
-rw-r--r-- 1 root wheel 13871 Sep 11 2006 dso.h
-rw-r--r-- 1 root wheel 35327 Sep 11 2006 engine.h
-rw-r--r-- 1 root wheel 5174 Sep 11 2006 blowfish.h
-rw-r--r-- 1 root wheel 22121 Sep 11 2006 bn.h
-rw-r--r-- 1 root wheel 4420 Sep 11 2006 cast.h
-rw-r--r-- 1 root wheel 9656 Sep 11 2006 ec.h
-rw-r--r-- 1 root wheel 16117 Sep 11 2006 rsa.h
-rw-r--r-- 1 root wheel 10718 Sep 11 2006 des.h
-rw-r--r-- 1 root wheel 18221 Sep 11 2006 des_old.h
-rw-r--r-- 1 root wheel 4422 Sep 11 2006 hmac.h
-rw-r--r-- 1 root wheel 3921 Sep 11 2006 mdc2.h
-rw-r--r-- 1 root wheel 4398 Sep 11 2006 rc2.h
-rw-r--r-- 1 root wheel 3795 Sep 11 2006 rc4.h
-rw-r--r-- 1 root wheel 4782 Sep 11 2006 rc5.h
-rw-r--r-- 1 root wheel 4340 Sep 11 2006 ripemd.h
-rw-r--r-- 1 root wheel 540 Sep 11 2006 ebcdic.h
-rw-r--r-- 1 root wheel 3927 Sep 11 2006 md2.h
-rw-r--r-- 1 root wheel 4707 Sep 11 2006 md4.h
-rw-r--r-- 1 root wheel 4707 Sep 11 2006 md5.h
-rw-r--r-- 1 root wheel 99055 Sep 11 2006 obj_mac.h
-rw-r--r-- 1 root wheel 33172 Sep 11 2006 objects.h
-rw-r--r-- 1 root wheel 5559 Sep 11 2006 opensslconf.h
-rw-r--r-- 1 root wheel 4911 Sep 11 2006 ossl_typ.h
-rw-r--r-- 1 root wheel 5077 Sep 11 2006 sha.h
-rw-r--r-- 1 root wheel 13331 Sep 11 2006 symhacks.h
-rw-r--r-- 1 root wheel 19963 Sep 11 2006 crypto.h
-rw-r--r-- 1 root wheel 9541 Sep 11 2006 e_os2.h
-rw-r--r-- 1 root wheel 3752 Sep 11 2006 opensslv.h
-rw-r--r-- 1 root wheel 3552 Sep 11 2006 tmdiff.h
PowerBookG4667:~ tcrawley$
so I have /usr/include/openssl/ripemd.h also but it is not being
picked up by configure etc
PowerBookG4667:~ tcrawley$ /usr/bin/openssl version
OpenSSL 0.9.7l 28 Sep 2006
Thanks
Tom
On Jun 3, 2007, at 9:59 PM, Chris Pickel wrote:
> On 03 Jun, 2007, at 18:56, Thomas Crawley wrote:
>> I tried to perform the command "port selfupdate" to update my port
>> installation with the latest version.
>
> Just to confirm your suspicions, selfupdate is the correct fix to
> this problem; "configure.cppflags" was added in 1.4.*
>
>> I examined the source of SHA1Cmd.c and it seems that the compile
>> flag HAVE_LIBCRYPTO is not set and so the
>> configure script uses
>>
>> /usr/include/sha.h
>
> Interestingly, I do not have this on my system (10.4.9).
>
>> rmd160cmd.c:66:20: error: ripemd.h: No such file or directory
>
> On the other hand, I *do* have /usr/include/openssl/ripemd.h
>
> So, a couple of questions:
> * What version of Mac OS are you running?
> * Do you have the latest version of Xcode?
> * What are the contents of /usr/include/openssl?
> * What does `/usr/bin/openssl version` report?
>
>
> Chris
More information about the macports-users
mailing list