Fork me on GitHub
#crux
<
2021-04-19
>
ouvasam08:04:13

Hi, I have something strange since this morning using crux. It should be related to an upgrade other than crux but if someone has an hint ? Many thanks

2021-04-19T08:07:34.007Z ouvasam INFO [crux.hash.jnr:311] - dlopen(libgcrypt.dylib, 9): image not found
WARNING: /usr/local/opt/[email protected]/bin/java is loading libcrypto in an unsafe way
If i try to install libgcrypt using brew install libgcrypt i have this error:
WARNING: /usr/local/opt/[email protected]/bin/java is loading libcrypto in an unsafe way

ordnungswidrig08:04:24

I see this everywhere on “Big Sur”, also for python and nodejs related things IIRC.

ordnungswidrig08:04:56

Is openjdk from homebrew?

ouvasam08:04:07

Hi thanks, no i don't think so

ouvasam08:04:15

I'm trying to reinstall java

ouvasam08:04:12

oops, yes it is i think

ordnungswidrig08:04:15

Yes, the solution seems to be a newer (or freshly) compiled JSK which depends on an explicit version of “libcrypto” instead of “whatever libcrypto in this system is”. (Roughly described)

ouvasam08:04:47

😅 i'll try to find thanks

ouvasam08:04:11

The problem is that i have to use tomcat which use [email protected] but this version does not work with crux

refset13:04:25

Hey @U0F7M1KA7 I don't know what the specific cause might be here, but you can probably work around this for now by switching from libgcrypt to OpenSSL or our own ByteUtils SHA1 implementation. This can be done by setting environment variables, see: https://github.com/juxt/crux/blob/master/crux-core/src/crux/hash.clj#L10-L12

ouvasam13:04:30

Hi @U899JBRPF Many thanks for taking time. What i did is to use jenv to use another java version for my app. So tomcat can use openjdk

ouvasam13:04:51

I'll conserve this to check if it works

ouvasam13:04:54

many tahnks

refset13:04:12

no problem, I hope you find a satisfying answer eventually 🙂

refset13:04:42

if you find that Crux could be doing something specifically more helpful here please feel free to open an issue

👍 2
refset15:04:06

ATTN: Production Users! Are you currently using crux-jdbc in production? If so, please DM or email me (<mailto:[email protected]|[email protected]>) before this Friday (23rd)! We are hoping to provide a smooth upgrade path for the next release that ideally requires your help to validate the practical implications of the SQL migration fix(es) to resolve this JDBC performance issue https://github.com/juxt/crux/issues/1463

Jacob O'Bryant02:04:43

aye aye captain

parrot 2