pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

mongodb4 on aarch64: ssl instruction probing woes, net/unifi with other mongo?



I have a RPI4 with up-to-date netbsd-10 aarch64.

I built mongodb4, but running it gets me "Illegal instruction" and a
core.

I believe, not super firmly, that something about  mongo is causing
openssl's CPU-probing strategy to result in an uncaught exception.

So I tried to build mongodb4 without ssl, using options.  That worked,
but I see it's still pulled in.

Before I try harder, any wisdom?  (I need mongodb4 for unifi, I think.
But maybe I should try mongodb6.  Really I just want to run unifi.)

$ objdump  -x /usr/pkg/bin/mongo|egrep NEED\|RPATH
  NEEDED               libexecinfo.so.0
  NEEDED               libcurl.so.4
  NEEDED               libzstd.so.1
  NEEDED               libz.so.1
  NEEDED               libsnappy.so.1
  NEEDED               libicudata.so.75
  NEEDED               libicui18n.so.75
  NEEDED               libicuuc.so.75
  NEEDED               libyaml-cpp.so.0.8
  NEEDED               libpcre.so.1
  NEEDED               libpcrecpp.so.0
  NEEDED               libkvm.so.6
  NEEDED               librt.so.1
  NEEDED               libstdc++.so.9
  NEEDED               libm.so.0
  NEEDED               libgcc_s.so.1
  NEEDED               libpthread.so.1
  NEEDED               libc.so.12
  VERNEED              0x00000000005854a8
  VERNEEDNUM           0x0000000000000002

$ objdump -x /usr/pkg/lib/libcurl.so|egrep NEED\|RPATH
  NEEDED               libnghttp2.so.14
  NEEDED               libidn2.so.0
  NEEDED               libunistring.so.5
  NEEDED               libintl.so.1
  NEEDED               libssl.so.15
  NEEDED               libcrypto.so.15
  NEEDED               libgssapi.so.12
  NEEDED               libz.so.1
  NEEDED               libpthread.so.1
  NEEDED               libc.so.12
  RPATH                /usr/pkg/lib
  VERNEED              0x000000000000ff08
  VERNEEDNUM           0x0000000000000004


Home | Main Index | Thread Index | Old Index