The NAIF CSPICE Toolkit is the canonical standard library for processing JPL ephemeris files for all types of Solar-system bodies (and fictive locations). It was developed by NASA specifically to allow tracking Solar-system objects, together with the ephemeris (SPK) file format of the data the toolkit operates on. We could (and should) provide support for handling Solar-system objects via the CSPICE library in SuperNOVAS also.
You might also want to check out the Smithsonian/cspice-sharedlib repo, which enables you to build CSPICE as a shared (libcspice.so[.1]
) library and dynamically linked tools, rather than the static library (cspice.a
and csupport.a
) and statically linked tools of the original distribution.