Looks like it is related to magma. Apparently it’s not dynamically linked, though.
Either magma using a different cuda version or having incompatible threading (I don’t even know if that is a thing with magma) could be not so good.
You could try to disable magma and see if it helps (but of course, you’ll be missing quite a bit of cuda linear algebra then).
I must admit I’m not sure what’s next. I only ever build my stuff on bare metal Debian systems and it mostly works for me, so I don’t have a lot of expertise debugging funny linking stuff.