Port selfupate crypto lib problem

Thomas Crawley thomas.crawley at verizon.net
Sun Jun 3 20:06:44 PDT 2007


I see the following in the output

checking for MD5Update in -lmd... yes
checking md5.h usability... yes
checking md5.h presence... yes
checking for md5.h... yes
checking for X... libraries /usr/X11R6/lib, headers

I do not see any message about -lcrypto but I do see

cc -dynamiclib -L/usr/local/lib  -L/usr/lib -lcurl -lssl -lcrypto -lz  
darwinports.o portconf.o session.o util.o -o Darwinports.dylib -L/ 
System/Library/Frameworks/Tcl.framework/Versions/8.4 -ltclstub8.4 -L/ 
usr/local/lib  -L/usr/lib -lcurl -lssl -lcrypto -lz -lreadline  -lmd

further down in the output...

How do I check for libmd ?

How do I prevent libmd from being used ?



On Jun 3, 2007, at 10:50 PM, Chris Pickel wrote:

> On 03 Jun, 2007, at 22:12, Thomas Crawley wrote:
>> so I have /usr/include/openssl/ripemd.h also but it is not being  
>> picked up by configure etc
> As far as I can tell, you should be using libcrypto if you can  
> include openssl/md5.h (which appears to be the case for you), if  
> libcrypto contains MD5_UPDATE, and if libmd was not found first.
> If you `port -d selfupdate`, you should see some mention of libmd  
> and libcrypto. For example, I see:
>     checking for MD5Update in -lmd... no
>     checking for MD5_Update in -lcrypto... yes
> So perhaps you have libmd on your system? (version 0.3 of libmd  
> should provide the headers you're missing). If this is your  
> problem, you could work around it by moving libmd aside temporarily  
> while you selfupdate. That would force libcrypto to be used.
> Chris
> (pardon the switch of email address)

More information about the macports-users mailing list