Linux version
-------------
The LIBBASS.SO file needs to be in the OS's library search path for it to
be found; simply placing it in the same directory as the executable won't
necessarily work as it does on other platforms.
The BASS libraries should
also not be placed in the standard library directories to avoid version
conflicts. To meet those competing requirements, a wrapper script could be
used to set the "LD_LIBRARY_PATH" environment variable before loading the
executable. Another option is to set the "rpath" in the executable, to tell
it where to look for libraries. That is what the example makefiles do.
When building both 32-bit and 64-bit executables, it is possible to simply
try linking with both LIBBASS.SO versions, and the linker will use the
appropriate version and ignore the other.
Partager