osx - Configure error in Mac OS X Lion 10.7 -- Library 'crypto' is required for OpenSSL -


tried brew install postgres , got following error:

datadir=/usr/local/cellar/postgresql/9.2.4/share/postgresql --docdir=/usr/local/cellar/postgresql checking library containing gss_init_sec_context... -lgssapi_krb5 checking library containing com_err... none required checking library containing krb5_sendauth... none required checking crypto_new_ex_data in -lcrypto... no configure: error: library 'crypto' required openssl 

openssl seems installed correctly (i brew installed it, no complaints, , brew doctor doesn't raise flags it), , xcode developer tools date. looked around how install crypto on mac, (os x lion 10.7), , there surprisingly few resources. ideas what's wrong or how fix it?

i tried uninstalling/reinstalling openssl.

the problem ended being based on inexplicably empty libcrypto.dylib file. there backup (libcrypto.dylib.bak), , overwrote empty file , problems went away. no idea how happened in first place, if anyone's having similar problems, i'd .bak files in usr/lib/ , (if there any) see if associated files empty.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -