Bill-Gray / find_orb

Orbit determination from observations
https://www.projectpluto.com/find_orb.htm
GNU General Public License v2.0
98 stars 45 forks source link

Program won't run on Archlinux #50

Closed Brensom closed 1 year ago

Brensom commented 1 year ago

Hello. I built the latest version from master and after running I get the following error:

./find_orb
find_orb: mpc_obs.cpp:4851: int load_default_environment_file(): Assertion `!rval' failed.
Aborted (core dumped)

My build pc:

COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/13.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --enable-languages=ada,c,c++,d,fortran,go,lto,objc,obj-c++ --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 13.2.1 20230801 (GCC)
Bill-Gray commented 1 year ago

Hmmm... I think I may see what's going on here. Did you do the installation with

make install GLOBAL=Y?

I ought to be able to fix this... let me know if that's actually what you did; if you just did a 'local' install, with no GLOBAL=Y, then I don't know what the problem is.

Brensom commented 1 year ago

I didn't do any installation. I got the binaries and am trying to run them.