After upgrading from 10.12 to 10.13 (public beta 2) crystal does not compile my code anymore. I reinstalled crystal after the upgrade and crystal itself compiles fine on 10.13 via homebrew.
This seems like a general issue with the linker and not specific to my code. Just in case the code is open source (https://github.com/beanieboi/weltreise-log)
Command: crystal build -s --verbose src/weltreise_log.cr
Log
Parse: 00:00:00.0008050 ( 0.25MB)
Semantic (top level): 00:00:00.3232630 ( 44.08MB)
Semantic (new): 00:00:00.0021460 ( 44.08MB)
Semantic (type declarations): 00:00:00.0271950 ( 44.08MB)
Semantic (abstract def check): 00:00:00.0008200 ( 44.08MB)
Semantic (ivars initializers): 00:00:00.0069600 ( 44.08MB)
Semantic (cvars initializers): 00:00:00.0039810 ( 52.08MB)
Semantic (main): 00:00:00.6393420 ( 140.52MB)
Semantic (cleanup): 00:00:00.0008860 ( 140.52MB)
Semantic (recursive struct check): 00:00:00.0009780 ( 140.52MB)
Codegen (crystal): 00:00:00.7411230 ( 188.52MB)
Codegen (bc+obj): 00:00:00.2387010 ( 188.52MB)
cc "${@}" -o '/Users/ben/Development/com.abwesend.weltreise.log/weltreise_log' -rdynamic -lz `command -v pkg-config > /dev/null && pkg-config --libs libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs libcrypto || printf %s '-lcrypto'` -lpcre -lgc -lpthread /usr/local/Cellar/crystal-lang/0.23.1/src/ext/libcrystal.a -levent -liconv -ldl -L/usr/lib -L/usr/local/lib _main.o A-rray40S-tring41.o P-ointer40S-tring41.o C-allS-tack.o A-rgumentE-rror.o A-rray40P-ointer40V-oid4141.o P-ointer40P-ointer40V-oid4141.o E-xception.o P-ointer40L-ibU-nwind5858E-xception41.o U-I-nt64.o S-taticA-rray40I-nt8443225641.o P-ointer40I-nt841.o P-ointer40V-oid41.o F-iber.o T-hread.o S-et40T-hread41.o H-ash40T-hread4432N-il41.o P-ointer40H-ash58-5c8fd5776cf345ec94b91bf7a5f7e50f.o A-rray40I-nt3241.o S-tring5858B-uilder.o S-tring.o G-C-.o S-lice40T-41.o S-lice40U-I-nt841.o I-O-5858E-ncoder.o I-conv.o M-ath.o I-nt32.o P-ointer40U-I-nt841.o I-ndexE-rror.o E-rrno.o S-taticA-rray40U-I-nt84432102441.o C-har.o S-taticA-rray40U-I-nt84432441.o I-nvalidB-yteS-equenceE-rror.o S-taticA-rray40U-I-nt844326541.o D-ivisionB-yZ-ero.o P-ointer40I-nt3241.o U-I-nt32.o H-ash5858E-ntry40T-hread4432N-il41.o N-il.o D-eque40F-iber41.o P-ointer40F-iber41.o E-vent5858B-ase.o A-rray40T-uple40U-I-nt644432I-nt164432I-nt164141.o P-ointer40T-uple40U-I-nt644432I-nt164432I-nt164141.o A-rray40F-loat585-7322d6c8fe1296c88edebdcd115c89ad.o P-ointer40F-loat5-36d63b0ae213f3427e187530ef6f5ab5.o F-loat5858P-rinter5858C-achedP-owers5858P-ower.o I-O-5858F-ileD-escriptor.o S-cheduler.o L-ibE-vent25858E-ventF-lags.o I-O-5858F-ileD-escriptor43.o E-vent5858E-vent.o U-N-I-X-S-erver.o I-nt64.o I-O-5858E-rror.o I-O-5858T-imeout.o U-I-nt8.o E-xception43.o P-rocess.o F-ile.o C-har5858R-eader.o B-ool.o T-ypeC-astE-rror.o R-ange40B-4432E-41.o R-ange40I-nt324432I-nt3241.o D-ebug5858M-achO-.o I-O-5858B-yteF-ormat5858L-ittleE-ndian.o I-O-5858E-O-F-E-rror.o D-ebug5858M-achO-5858E-rror.o I-O-5858B-yteF-ormat5858B-igE-ndian.o S-taticA-rray40U-I-nt84432409641.o I-O-5858S-eek.o A-rray40D-ebug5858M-achO-5858S-egment6441.o P-ointer40D-ebug5858M-achO-5858S-egment6441.o A-rray40D-ebug5858M-achO-5858S-ection6441.o P-ointer40D-ebug5858M-achO-5858S-ection6441.o D-ebug5858M-achO-5858L-oadC-ommand.o S-taticA-rray40U-I-nt844321641.o D-ebug5858M-achO-5858U-U-I-D-.o D-ebug5858M-achO-5858S-egment64.o S-taticA-rray40U-I-nt84432841.o D-ebug5858M-achO-5858S-ection64.o D-ebug5858D-W-A-R-F-5858L-ineN-umbers.o A-rray40A-rray40D-d5580c0e9cb0bd8af7e90c96221706e1.o P-ointer40A-rray4-6533bdad81433bcf155b99ac74756686.o D-ebug5858D-W-A-R-F-5858L-ineN-umbers5858S-equence.o A-rray40T-uple40S-5992430a1a7ef1627717adfb71332538.o P-ointer40T-uple4-13415771527eed75ea796bf4f3711255.o A-rray40U-I-nt841.o U-I-nt16.o S-taticA-rray40U-I-nt84432241.o I-nt8.o S-taticA-rray40U-I-nt84432141.o I-O-5858D-ecoder.o D-ebug5858D-W-A-R-F-.o D-ebug5858D-W-A-R-F-5858L-ineN-umbers5858R-egister.o D-ebug5858D-W-A-R-F-5858L-ineN-umbers5858R-ow.o A-rray40D-ebug585-1d195a7f864d2d3790ebeadd84b7a4df.o P-ointer40D-ebug5-a50eac5c43900f6bca76f68ff8c8549d.o D-ebug5858D-W-A-R-F-5858L-N-E-.o D-ebug5858D-W-A-R-F-5858L-N-S-.o D-ebug5858D-W-A-R-F-5858S-trings.o A-rray40T-uple40U-997f9e533f193da5e605a2014e7947d9.o P-ointer40T-uple4-aa2454898accd295538d997a0365d41d.o D-ebug5858D-W-A-R-F-5858I-nfo.o D-ebug5858D-W-A-R-F-5858A-bbrev.o A-rray40D-ebug5858D-W-A-R-F-5858A-bbrev41.o P-ointer40D-ebug5858D-W-A-R-F-5858A-bbrev41.o A-rray40D-ebug585-b448de41619185732a02b2b0c778beb9.o P-ointer40D-ebug5-038cd8f166075bfacc819464bf65667a.o D-ebug5858D-W-A-R-F-5858A-bbrev5858A-ttribute.o A-rray40T-uple40D-2934b2835f929d23ac3adb7e5b7b0afe.o P-ointer40T-uple4-6ff119ef58145d1144587389190a4e25.o D-ebug5858D-W-A-R-F-5858F-O-R-M-.o U-nicode.o U-nicode5858C-aseO-ptions.o A-rray40T-uple40I-nt324432I-nt324432I-nt324141.o P-ointer40T-uple40I-nt324432I-nt324432I-nt324141.o H-ash40I-nt324432-c36c7b59ada9577e04b34b7156d26117.o P-ointer40H-ash58-20170b0dcbfcdda132d3c3911ed0b4b4.o H-ash5858E-ntry40-ea883736b6a497e8c0f2d29083b2162a.o A-rray40T-uple40I-nt324432I-nt324141.o P-ointer40T-uple40I-nt324432I-nt324141.o D-ebug5858D-W-A-R-F-5858T-A-G-.o D-ebug5858D-W-A-R-F-5858A-T-.o S-tring5858T-oU-64I-nfo.o P-roc40F-iber4432-6eb246a0a45118d3c5507cc830b14a70.o S-ignal.o P-roc40I-nt324432V-oid41.o E-vent5858S-ignalH-andler.o H-ash40S-ignal4432P-roc40S-ignal4432N-il4141.o P-ointer40H-ash58-ac8d12c9042874d67c1e049ddde35350.o H-ash5858E-ntry40-37a9b13947932e73bc9389d755897071.o E-vent5858S-ignalC-hildH-andler.o H-ash40I-nt324432P-rocess5858S-tatus41.o P-ointer40H-ash58-0a6eee72af0923261bdd3b6c7958da85.o H-ash40I-nt324432-12de0ef574784dde6ffe5b3ae93d5bba.o P-ointer40H-ash58-1ce4187043ca1e746f24acb8d0ff7a7e.o P-rocess5858S-tatus.o C-hannel5858B-uff-35976990a41c6a8201ab74e37227bdef.o C-hannel5858C-losedE-rror.o D-eque40P-rocess5858S-tatus3212432N-il41.o P-ointer40P-rocess5858S-tatus3212432N-il41.o H-ash5858E-ntry40-8e9a3cfcf19f0b3833711caadc35e784.o H-ash5858E-ntry40I-nt324432P-rocess5858S-tatus41.o I-O-.o S-taticA-rray40I-nt324432241.o A-tE-xitH-andlers.o A-rray40P-roc40I-nt324432N-il4141.o P-ointer40P-roc40I-nt324432N-il4141.o R-andom5858P-C-G-32.o R-andom.o L-ibC-rypto5858B-ioM-ethod.o B-ox40I-O-41.o F-ile5858P-R-eader.o F-late5858R-eader.o F-late5858W-riter.o S-taticA-rray40U-I-nt84432819241.o G-zip5858R-eader.o G-zip5858W-riter.o L-ibZ-5858Z-S-tream.o L-ibZ-5858E-rror.o F-late5858E-rror.o G-zip5858H-eader.o H-T-T-P-5858C-hunkedC-ontent.o H-T-T-P-5858S-erver5858R-esponse.o H-T-T-P-5858S-erver5858R-esponse5858O-utput.o H-T-T-P-5858H-eaders.o H-T-T-P-5858H-eaders5858K-ey.o H-ash40H-T-T-P-58-41c1f5416a58e3dc1fda537ff9025bc1.o P-ointer40H-ash58-dd9a6e4d9abdd280a27441daa00f6c79.o H-ash5858E-ntry40-d0d0f6cf0294ca93e95889559764778b.o H-T-T-P-5858C-ookies.o H-ash40S-tring4432H-T-T-P-5858C-ookie41.o P-ointer40H-ash58-7f71784838e8b236fae65568b2cec8a7.o A-rray40H-T-T-P-5858C-ookie41.o P-ointer40H-T-T-P-5858C-ookie41.o H-T-T-P-5858C-ookie.o U-R-I-.o T-uple40C-har4432C-har4432C-har4432C-har41.o H-T-T-P-.o T-ime.o T-ime5858K-ind.o C-rystal5858S-ystem5858T-ime.o P-ointer40L-ibC-5858T-m41.o T-ime5858F-ormat.o T-ime5858F-ormat5858F-ormatter.o H-T-T-P-5858U-nknownL-engthC-ontent.o H-T-T-P-5858W-ebS-4cb2ca367ffc5472ff9cc10ba3782e30.o H-T-T-P-5858W-ebS-ocket5858P-rotocol.o I-O-5858H-exdump.o O-penS-S-L-5858D-igestI-O-.o O-penS-S-L-5858S-S-L-5858S-ocket43.o O-penS-S-L-5858S-S-L-5858E-rror.o L-ibS-S-L-5858S-S-L-E-rror.o I-O-5858A-R-G-F-.o I-O-5858D-elimited.o I-O-5858M-emory.o I-O-5858M-ultiW-riter.o A-rray40I-O-41.o P-ointer40I-O-41.o H-T-T-P-5858F-ixedL-engthC-ontent.o I-O-5858S-ized43.o O-penS-S-L-5858D-igestI-O-5858D-igestM-ode.o O-penS-S-L-5858D-igest.o H-ash40I-nt324432-75cf0889665a4e7008b9d865daf34063.o P-ointer40H-ash58-97350088e56a60a6ff2710687e194b31.o H-ash5858E-ntry40-2cbbc8b2d8a06e2b1695995f1b4f7cb2.o G-zip5858H-eader5858F-lg.o C-R-C-32.o T-uple40U-I-nt644432U-I-nt6441.o E-numerable5858E-mptyE-rror.o G-zip5858E-rror.o S-taticA-rray40U-I-nt844321041.o L-ibC-5858S-ockaddrU-n.o S-taticA-rray40U-I-nt8443210441.o S-taticA-rray40U-I-nt844326441.o T-ime5858S-pan.o P-G-5858D-ecoders5858B-yteaD-ecoder.o H-ash40I-nt324432P-G-5858D-ecoders5858D-ecoder41.o P-ointer40H-ash58-fb17492ee09c2e7f764f3a81d01c0682.o P-G-5858D-ecoders5858B-oolD-ecoder.o P-G-5858D-ecoders.o H-ash5858E-ntry40-424178abfb0245016e9200cd55c8b6fc.o P-G-5858D-ecoders5858C-harD-ecoder.o P-G-5858D-ecoders5858S-tringD-ecoder.o P-G-5858D-ecoders5858I-nt64D-ecoder.o P-G-5858D-ecoders5858I-nt16D-ecoder.o P-G-5858D-ecoders5858I-nt32D-ecoder.o P-G-5858D-ecoders5858U-I-ntD-ecoder.o P-G-5858D-ecoders5858J-sonD-ecoder.o P-G-5858D-ecoders5858J-sonbD-ecoder.o P-G-5858D-ecoders5858F-loat32D-ecoder.o P-G-5858D-ecoders5858F-loat64D-ecoder.o P-G-5858D-ecoders5858D-ateD-ecoder.o P-G-5858D-ecoders5858T-imeD-ecoder.o P-G-5858D-ecoders5858N-umericD-ecoder.o P-G-5858D-ecoders5858U-uidD-ecoder.o P-G-5858D-ecoders5858P-ointD-ecoder.o P-G-5858D-ecoders5858L-ineS-egmentD-ecoder.o P-G-5858D-ecoders5858P-athD-ecoder.o P-G-5858D-ecoders5858B-oxD-ecoder.o P-G-5858D-ecoders5858P-olygonD-ecoder.o P-G-5858D-ecoders5858L-ineD-ecoder.o P-G-5858D-ecoders5858C-ircleD-ecoder.o P-G-5858D-ecoders-3ac374fabea796d5f74621030272c6c7.o P-G-5858D-ecoders-b9357826739bffd7ce8f55d90e9f8b81.o P-G-5858D-ecoders-fa67c6fa853b0cd2d3a24bb70770ff5c.o P-G-5858D-ecoders-df67377183aa45cda7659655b60dee8d.o P-G-5858D-ecoders-9f22525eb1984949cd50143a539bbb6c.o P-G-5858D-ecoders-31a476f54d19e07faf8d2aa8105a1a25.o P-G-5858D-ecoders-fe7b7b3948c56714a939f562fba21e39.o P-G-5858D-ecoders-d1477b263aa178888443fcc6269f2ec5.o D-B-.o H-ash40S-tring4432D-B-5858D-river58C-lass41.o P-ointer40H-ash58-2ff5af92266ad89282fb0a7e5c202110.o H-ash5858E-ntry40-94dca24e29509a6c0385c28ac6fd669d.o E-N-V-.o K-eyE-rror.o U-R-I-5858P-arser.o U-R-I-5858E-rror.o D-B-5858D-river43.o D-B-5858D-atabase.o D-B-5858S-tringK--117ff1b54709e49f8dd9167e61f5964f.o H-ash40S-tring443-cf57c423a3b1bee94188da09d1d6d547.o P-ointer40H-ash58-b3d8492a027445acd6f64d0b945e372a.o H-T-T-P-5858P-arams.o H-ash40S-tring4432A-rray40S-tring4141.o P-ointer40H-ash58-e9dd6a6ea1a28a8606c1eb0818a2e511.o H-ash5858E-ntry40S-tring4432A-rray40S-tring4141.o P-G-5858D-river.o P-G-5858C-onnection.o D-B-5858S-tringK-eyC-ache40D-B-5858S-tatement41.o H-ash40S-tring4432D-B-5858S-tatement41.o P-ointer40H-ash58-726e82f562249f210637565769a3eaa2.o P-Q-5858C-onnI-nfo.o A-rray40P-ointer40U-I-nt84141.o P-ointer40P-ointer40U-I-nt84141.o C-hannel40E-xception3212432N-il41.o C-hannel5858U-nbuffered40E-xception3212432N-il41.o A-rray40P-roc40N-il4141.o P-ointer40P-roc40N-il4141.o H-T-T-P-5858M-ultipart5858E-rror.o R-eference5858E-xecR-ecursive.o H-ash40T-uple40U-I-nt644432S-ymbol414432B-ool41.o P-ointer40H-ash58-f260880facfa44ea5f3ea4dfd9e0eb02.o T-uple40U-I-nt644432S-ymbol41.o S-ymbol.o H-ash5858E-ntry40-6a98f111b8e2182b3054070d4e1afc21.o H-T-T-P-5858F-ormD-ata5858E-rror.o P-G-5858R-untimeE-rror.o P-G-5858E-rror43.o P-Q-5858P-Q-E-rror.o P-Q-5858C-onnectionE-rror.o D-B-5858R-ollback.o D-B-5858M-appingE-xception.o D-B-5858C-onnectionR-efused.o D-B-5858C-onnectionL-ost.o D-B-5858P-oolR-etryA-ttemptsE-xceeded.o D-B-5858P-oolT-imeout.o D-B-5858E-rror43.o J-S-O-N-5858P-arseE-xception.o J-S-O-N-5858E-rror43.o O-A-uth5858E-rror.o B-ase645858E-rror.o S-ocket5858E-rror.o O-penS-S-L-5858D-igest5858U-nsupportedE-rror.o O-penS-S-L-5858D-igest5858E-rror43.o O-penS-S-L-5858E-rror43.o T-ime5858F-ormat5858E-rror.o C-oncurrent5858C-anceledE-rror.o I-O-5858E-rror43.o V-oid.o P-G-5858S-tatement.o D-B-5858C-onnection43.o D-B-5858P-ool40D-B-5858C-onnection41.o F-loat64.o F-loat5858P-rinter.o F-loat5858P-rinter5858I-E-E-E-.o S-taticA-rray40U-I-nt8443212841.o F-loat5858P-rinter5858G-risu3.o F-loat5858P-rinter5858D-iyF-P-.o F-loat5858P-rinter5858C-achedP-owers.o T-uple40I-nt32443-afadb9c45253e8355fa608b917562caf.o S-et40D-B-5858C-onnection41.o A-rray40D-B-5858C-onnection41.o P-ointer40D-B-5858C-onnection41.o P-roc40D-B-5858C-onnection41.o C-hannel5858U-nbuffered40N-il41.o M-utex.o P-roc40D-B-5858C-onnection4432N-il41.o D-B-5858P-oolP-reparedS-tatement.o S-et40W-eakR-ef40D-B-5858C-onnection4141.o W-eakR-ef40D-B-5858C-onnection41.o D-B-5858S-ingleC-onnectionC-ontext.o D-B-5858S-tatement43.o P-Q-5858C-onnection.o O-penS-S-L-5858S-S-L-5858S-ocket5858C-lient.o I-O-5858E-ncodingO-ptions.o O-penS-S-L-5858B-I-O-.o S-ocket43.o O-penS-S-L-5858S-S-L-5858S-ocket5858S-erver.o P-ointer40L-ibC-r-3d955a7e9c76bf2d46cf2ef3aa00d05c.o L-ibC-rypto5858E-V-P-_M-D-_C-T-X-_S-truct.o H-T-T-P-5858W-ebS-ocket5858P-rotocol5858O-pcode.o P-ointer40L-ibC-rypto5858B-io41.o L-ibC-rypto5858B-io.o H-ash40S-tring4432S-tring41.o P-roc40P-Q-5858N-otice4432N-il41.o P-roc40P-Q-5858N-otification4432N-il41.o A-rray40P-Q-5858F-e5a7d704837b9d5047f4960d82a55e08.o P-ointer40P-Q-585-c00d76bf3e652034aa54a71e53904500.o P-Q-5858F-rame5858E-rrorN-oticeF-rame5858F-ield.o P-G-5858E-rror.o D-B-5858E-rror.o J-S-O-N-5858E-rror.o O-penS-S-L-5858D-igest5858E-rror.o O-penS-S-L-5858E-rror.o C-oncurrent5858F-uture40R-41.o C-oncurrent5858F-uture40P-rocess5858S-tatus41.o C-hannel40N-il41.o C-oncurrent5858F-uture5858S-tate.o I-ndexable40T-41.o P-ointer40H-ash58-936942710ba7ed1ab15dd5a236bf568a.o U-N-I-X-S-ocket.o S-ocket5858F-amily.o S-ocket5858T-ype.o S-ocket5858P-rotocol.o S-ocket5858U-N-I-X-A-ddress.o P-ointer40L-ibC-5858S-ockaddrU-n41.o U-N-I-X-S-ocket43.o T-C-P-S-ocket.o L-ibC-5858A-ddrinfo.o S-ocket5858A-ddrinfo.o P-ointer40L-ibC-5858S-ockaddrI-n641.o P-ointer40L-ibC-5858S-ockaddrI-n41.o T-C-P-S-ocket43.o O-penS-S-L-5858S-S-L-5858C-ontext5858C-lient.o O-penS-S-L-5858S-S-L-5858C-ontext.o L-ibS-S-L-5858O-ptions.o L-ibS-S-L-5858M-odes.o P-Q-5858F-rame.o P-Q-5858F-rame5858C-ommandC-omplete.o P-Q-5858F-rame5858R-owD-escription.o I-nt16.o A-rray40P-Q-5858F-ield41.o P-ointer40P-Q-5858F-ield41.o P-Q-5858F-ield.o P-Q-5858F-rame5858N-otificationR-esponse.o P-Q-5858F-rame5858E-rrorN-oticeF-rame43.o P-Q-5858F-rame5858R-eadyF-orQ-uery.o P-Q-5858F-rame5858R-eadyF-orQ-uery5858S-tatus.o P-Q-5858F-rame5858B-ackendK-eyD-ata.o P-Q-5858F-rame5858P-arameterS-tatus.o P-Q-5858F-rame5858A-uthentication.o P-Q-5858F-rame5858A-uthentication5858T-ype.o P-Q-5858F-rame43.o P-Q-5858F-rame5858U-nknown.o P-Q-5858F-rame5858E-mptyQ-ueryR-esponse.o P-Q-5858F-rame5858B-indC-omplete.o P-Q-5858F-rame5858P-arseC-omplete.o P-Q-5858F-rame5858N-oD-ata.o P-Q-5858F-rame5858N-oticeR-esponse.o P-Q-5858F-rame5858E-rrorR-esponse.o P-Q-5858F-rame5858E-rrorN-oticeF-rame.o P-Q-5858N-otice.o P-Q-5858N-otification.o H-ash5858E-ntry40S-tring4432S-tring41.o D-igest5858M-D-5.o S-taticA-rray40U-I-nt324432241.o P-ointer40U-I-nt3241.o S-taticA-rray40U-I-nt324432441.o S-taticA-rray40U-I-nt3244321641.o D-B-5858P-ool40T-41.o H-ash40D-B-5858C-onnection4432N-il41.o P-ointer40H-ash58-535001e817aeac97c6db7dc87bfbd0a8.o H-ash5858E-ntry40D-B-5858C-onnection4432N-il41.o H-ash40W-eakR-ef40D-B-5858C-onnection414432N-il41.o P-ointer40H-ash58-66d91fbd138e8fe3b3fe9c83715a3420.o C-lient.o O-A-uth5858C-onsumer.o O-A-uth5858A-ccessT-oken.o H-T-T-P-5858C-lient.o O-A-uth.o S-ecureR-andom.o C-rystal5858S-ystem5858R-andom.o O-A-uth5858S-ignature.o O-A-uth5858P-arams.o A-rray40T-uple40S-tring4432S-tring4141.o P-ointer40T-uple40S-tring4432S-tring4141.o H-T-T-P-5858R-equest.o H-T-T-P-5858P-arams5858B-uilder.o A-rray40T-uple40T-6b95750db1de01e45c5f8b8e9b2d575f.o P-ointer40T-uple4-6fb8392a0ef5accea3ac9cbcc5309b7a.o A-rray40T-41.o O-penS-S-L-5858H-M-A-C-.o B-ase64.o P-ointer5858A-ppender40T-41.o P-ointer5858A-ppender40U-I-nt841.o O-A-uth5858A-uthorizationH-eader.o A-rray40P-roc40H-T-T-P-5858R-equest4432N-il4141.o P-ointer40P-roc40H-T-T-P-5858R-equest4432N-il4141.o E-ntryF-romT-weet.o U-ploader.o L-ibS-S-L-5858S-S-L-C-trl.o L-ibS-S-L-5858T-L-S-E-xt.o O-penS-S-L-5858S-S-L-5858H-ostnameV-alidation.o S-ocket.o L-ibC-5858I-n6A-ddr.o L-ibC-5858I-nA-ddr.o O-penS-S-L-5858S--2a932732c44821587f881c7e804974e9.o H-T-T-P-5858C-lient5858R-esponse.o H-T-T-P-5858B-odyT-ype.o H-T-T-P-5858C-omputedC-ontentT-ypeH-eader.o A-rray40E-ntry41.o P-ointer40E-ntry41.o J-S-O-N-.o J-S-O-N-5858P-arser.o J-S-O-N-5858L-exer.o J-S-O-N-5858L-exer5858S-tringB-ased.o J-S-O-N-5858T-oken.o S-tringP-ool.o A-rray40A-rray40S-tring413212432N-il41.o P-ointer40A-rray40S-tring413212432N-il41.o J-S-O-N-5858L-exer43.o J-S-O-N-5858L-exer5858I-O-B-ased.o R-ange40C-har4432C-har41.o A-rray40J-S-O-N-5858T-ype41.o P-ointer40A-rray4-80ff1f6e35e2d1a4def916615f8df3e1.o H-ash40S-tring4432J-S-O-N-5858T-ype41.o P-ointer40H-ash58-911ec5a35072dd2cf4bb9cb719257ecb.o H-ash5858E-ntry40S-tring4432J-S-O-N-5858T-ype41.o J-S-O-N-5858A-ny.o A-rray40F-loat6441.o P-ointer40F-loat6441.o R-egex.o R-egex5858O-ptions.o R-egex5858M-atchD-ata.o T-ime5858F-ormat5858P-arser.o E-ntry.o H-ash5858E-ntry40-9c1ec024a28b37a2458e88ade8f92636.o D-B-5858P-ool5858T-imeoutH-elper.o C-hannel5858R-eceiveA-ction40C-41.o C-hannel5858R-ece-f62d271372cc36c2503bab650bbdc9bd.o C-hannel40T-41.o W-eakR-ef40T-41.o D-B-5858S-essionM-c641cbbdbf0b393ee6c71684de3df386.o H-ash5858E-ntry40S-tring4432D-B-5858S-tatement41.o H-ash5858E-ntry40-62bd90aa00e4060bc4d0e2d70086cbc8.o D-B-5858P-oolU-npreparedS-tatement.o D-B-5858P-oolS-tatement43.o D-B-5858S-essionM-188224d9ba9c25919dc671e0c27fd7be.o P-Q-5858P-aram.o T-uple40T-41.o P-G-5858R-esultS-et.o I-O-5858S-ized.o A-rray40N-amedT-u-09f6fabb8a2e72c22bba738251c45031.o P-ointer40N-amedT-8c62c45b37dcc67e456140db9b4d96f5.o A-rray40P-G-5858B-oolA-rray41.o P-ointer40A-rray4-1cd11b5dad274cb47a5c99ee88f14d4b.o A-rray40P-G-5858C-harA-rray41.o P-ointer40A-rray4-91df6b9925f52277fc0cc50454143f4e.o A-rray40P-G-5858F-loat32A-rray41.o P-ointer40A-rray4-008adf5ad5983d8e6408aa1e60fb629d.o F-loat32.o A-rray40P-G-5858F-loat64A-rray41.o P-ointer40A-rray4-fbde92cf7a8fac68dc594b8bad06a322.o A-rray40P-G-5858I-nt16A-rray41.o P-ointer40A-rray4-0e39c4b2a630411d1f8a6e986388b54e.o A-rray40P-G-5858I-nt32A-rray41.o P-ointer40A-rray4-f4a8e9cfb993ea702c3374b8883961f9.o A-rray40P-G-5858I-nt64A-rray41.o P-ointer40A-rray4-b58ca094f9372f99950b41fac7946a99.o A-rray40P-G-5858S-tringA-rray41.o P-ointer40A-rray4-f7258a3abdd3efa962e2940aaf927736.o P-G-5858G-eo5858B-ox.o P-G-5858G-eo5858C-ircle.o P-G-5858G-eo5858L-ine.o P-G-5858G-eo5858L-ineS-egment.o R-ange40I-nt324432I-nt1641.o A-rray40I-nt1641.o P-ointer40I-nt1641.o P-G-5858N-umeric.o P-G-5858N-umeric5858S-ign.o A-rray40P-G-5858G-eo5858P-oint41.o P-ointer40P-G-5858G-eo5858P-oint41.o P-G-5858G-eo5858P-oint.o P-G-5858G-eo5858P-olygon.o P-G-5858G-eo5858P-ath.o S-taticA-rray40U-I-nt84432641.o P-rettyP-rint.o D-eque40P-rettyP--0271f7a109cb224ca52b000340464313.o P-ointer40P-retty-2bb965f4052430ef0947dc68e2dfd538.o P-rettyP-rint5858G-roup.o D-eque40P-rettyP-rint5858B-reakable41.o P-ointer40P-rettyP-rint5858B-reakable41.o A-rray40P-rettyP-rint5858G-roup41.o P-ointer40P-rettyP-rint5858G-roup41.o P-rettyP-rint5858G-roupQ-ueue.o A-rray40A-rray40P-rettyP-rint5858G-roup4141.o P-ointer40A-rray40P-rettyP-rint5858G-roup4141.o P-rettyP-rint5858T-ext.o P-rettyP-rint5858B-reakable.o D-B-5858E-xecR-esult.o L-E-B-R-eader.o L-ibU-nwind5858A-ction.o L-ibU-nwind5858R-easonC-ode.o C-allS-tack5858R-epeatedF-rame.o
Package libssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libssl' found
Package libcrypto was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcrypto.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcrypto' found
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Error: execution of command failed with code: 1: `cc "${@}" -o '/Users/ben/Development/com.abwesend.weltreise.log/weltreise_log' -rdynamic -lz `command -v pkg-config > /dev/null && pkg-config --libs libssl || printf %s '-lssl -lcrypto'` `command -v pkg-config > /dev/null && pkg-config --libs libcrypto || printf %s '-lcrypto'` -lpcre -lgc -lpthread /usr/local/Cellar/crystal-lang/0.23.1/src/ext/libcrystal.a -levent -liconv -ldl -L/usr/lib -L/usr/local/lib`
I think you need to install openssl.
https://github.com/crystal-lang/crystal/wiki/All-required-libraries#mac-osx-with-homebrew
On Linux openssl is required, MacOS don't mention it but I think openssl is required on Mac too
@faustinoaq thank you for looking into this. I have openssl installed. Crystal was working fine before the upgrade. Maybe some paths changed with related to the ssl libs. there is also a thread on homebrew and I think It might be related https://github.com/Homebrew/homebrew-core/issues/14418
This is more like an OS X issue, can we close this?
This may well actually be a homebrew issue. Please reopen once there is more info.
as a side note, it works well after adding openssl
to pkg-config
's path
位 ~/ echo $PKG_CONFIG_PATH
/usr/local/opt/openssl/lib/pkgconfig
since it's (openssl
) not default anymore on macOS High Sierra (switched to LibreSSL
instead)
@gokmen I added this to my .zshrc (.bashrc if you're using bash) after installing openssl with brew install openssl
and it worked great! Thanks
export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
See also #4676.
for fish shells, just run: set -U -x PKG_CONFIG_PATH /usr/local/opt/openssl/lib/pkgconfig
.
Most helpful comment
@gokmen I added this to my .zshrc (.bashrc if you're using bash) after installing openssl with
brew install openssl
and it worked great! Thanks