{"id":1248,"date":"2021-11-15T10:33:49","date_gmt":"2021-11-15T19:33:49","guid":{"rendered":"https:\/\/accretiondisc.com\/blog\/?p=1248"},"modified":"2021-11-15T10:33:49","modified_gmt":"2021-11-15T19:33:49","slug":"openssl-problem-on-older-macs","status":"publish","type":"post","link":"https:\/\/accretiondisc.com\/blog\/2021\/11\/15\/openssl-problem-on-older-macs\/","title":{"rendered":"OpenSSL problem on (older?) Macs"},"content":{"rendered":"\n<p>I had a whole bunch of problems break my podcast all at once, and I&#8217;m slowly figuring them out, one by one.<br><br>One of the problems is keeping both ruby 2.7.4 and 3.0.2 from building:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Installing openssl-1.1.1l...\n\nBUILD FAILED (Mac OS X 10.13.6 using ruby-build 20211109)\n\nInspect or clean up the working tree at \/var\/folders\/2h\/930zdx_d2dv8l6tg8m_kw_fh0000gn\/T\/ruby-build.20211114160436.20979.mnlPJV\nResults logged to \/var\/folders\/2h\/930zdx_d2dv8l6tg8m_kw_fh0000gn\/T\/ruby-build.20211114160436.20979.log\n\nLast 10 log lines:\n        ^\nclang  -I. -Iinclude -fPIC -arch x86_64 -O3 -Wall -DL_ENDIAN -DOPENSSL_PIC -DOPENSSL_CPUID_OBJ -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DKECCAK1600_ASM -DRC4_ASM -DMD5_ASM -DAESNI_ASM -DVPAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DX25519_ASM -DPOLY1305_ASM -DOPENSSLDIR=\"\\\"\/Users\/luke\/.rbenv\/versions\/2.7.4\/openssl\/ssl\\\"\" -DENGINESDIR=\"\\\"\/Users\/luke\/.rbenv\/versions\/2.7.4\/openssl\/lib\/engines-1.1\\\"\" -D_REENTRANT -DZLIB -DZLIB_SHARED -DNDEBUG -I\/Users\/luke\/.rbenv\/versions\/2.7.4\/include  -MMD -MF crypto\/rand\/randfile.d.tmp -MT crypto\/rand\/randfile.o -c -o crypto\/rand\/randfile.o crypto\/rand\/randfile.c\ncrypto\/rand\/rand_unix.c:385:47: error: use of undeclared identifier 'kCCSuccess'\n    if (CCRandomGenerateBytes(buf, buflen) == kCCSuccess)\n                                              ^\n2 errors generated.\nmake&#91;1]: *** &#91;Makefile:4637: crypto\/rand\/rand_unix.o] Error 1\n<\/code><\/pre>\n\n\n\n<p>Because I&#8217;m the next thing to a Normie, I never discover a new problem. This one has been <a href=\"https:\/\/issueexplorer.com\/issue\/openssl\/openssl\/16505\">observed since Septembe<\/a>r (or earlier).  That post says &#8220;the OpenSSL fellows do not develop on MacOS.&#8221; Fortunately, some people do. But I have to learn how to use the workarounds. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a whole bunch of problems break my podcast all at once, and I&#8217;m slowly figuring them out, one by one. One of the problems is keeping both ruby 2.7.4 and 3.0.2 from building: Because I&#8217;m the next thing to a Normie, I never discover a new problem. This one has been observed since [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[52],"tags":[170,302,200,94],"class_list":["post-1248","post","type-post","status-publish","format-standard","hentry","category-technology","tag-macports","tag-programming-2","tag-ruby-2","tag-software-2"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paRqpr-k8","_links":{"self":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/1248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/comments?post=1248"}],"version-history":[{"count":0,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/posts\/1248\/revisions"}],"wp:attachment":[{"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/media?parent=1248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/categories?post=1248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accretiondisc.com\/blog\/wp-json\/wp\/v2\/tags?post=1248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}