Installing Libraries and Shared Libraries - spatial_geostan - 2024.00

Spatial+ Reference for Windows, UNIX/Linux, z/OS

Product type
Software
Portfolio
Locate
Product family
GeoStan Geocoding Suite
Product
GeoStan Geocoding Suite > Spatial+
Version
2024.00
Language
English
Product name
Spatial+
Title
Spatial+ Reference for Windows, UNIX/Linux, z/OS
Copyright
2024
First publish date
1994
Last updated
2024-05-07
Published on
2024-05-07T22:16:04.316305

The UNIX system can recognize development libraries when they are placed in the system LDPATH. The LDPATH on most systems is usually /lib:/usr/lib. Some systems may include additional library directories such as /usr/slib, /usr/ccs/lib, and so on. When a library file has a name such as "libname.a",

"libname.so", or "libname.sl", the UNIX system recognizes it by default as long as it is in the library path.

The Centrus Spatial+ library files currently have the "lib" prefix as part of their names. Previous versions of Spatial+ library files did not use this prefix. For example, "spatial.a" (a library file for a previous version) is now named "libspatial.a". Although code written using the old library names still works, Precisely recommends you write new code using the new "lib" file names.

There are two ways of installing a library in the library path.

  • You can modify the library path to include the library you wish to install. For example:

    $ export LDPATH=$LDPATH:/usr/centrus/geostan/

    Note: Note that this does not work on all UNIX systems.
  • You can move the library into a common area which is already part of the library path. For example:

    $ mv whizzocalc.a /usr/lib/libwhizzocalc.a