Commit 0299c489be93009f1d2e0f442429970f211afe46
1 parent
4c64b554
Add note about missing LD_LIBRARY_PATH for GammaLib unit tests.
Showing
1 changed file
with
23 additions
and
0 deletions
doc/source/user_manual/getting.rst
| @@ -289,6 +289,29 @@ If you use C shell or a variant then add the following to your | @@ -289,6 +289,29 @@ If you use C shell or a variant then add the following to your | ||
| 289 | Known problems | 289 | Known problems |
| 290 | -------------- | 290 | -------------- |
| 291 | 291 | ||
| 292 | +GammaLib unit tests fail | ||
| 293 | +~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 294 | + | ||
| 295 | +Some users have reported failure of a large fraction of the GammaLib unit | ||
| 296 | +tests after after typing ``make check``. In all cases, this was related to | ||
| 297 | +the absence of the directory where the shared ``libcfitsio`` library | ||
| 298 | +resides in the library load path. To solve the issue, locate the directory | ||
| 299 | +where the shared ``libcfitsio`` library resides and then type | ||
| 300 | + | ||
| 301 | +.. code-block:: bash | ||
| 302 | + | ||
| 303 | + export LD_LIBRARY_PATH=/directory/to/lib:$LD_LIBRARY_PATH | ||
| 304 | + | ||
| 305 | +on Unix based systems or | ||
| 306 | + | ||
| 307 | +.. code-block:: bash | ||
| 308 | + | ||
| 309 | + export DYLD_LIBRARY_PATH=/directory/to/lib:$DYLD_LIBRARY_PATH | ||
| 310 | + | ||
| 311 | +on Mac OS X (``/directory/to/lib`` should be replaced by the correct | ||
| 312 | +library path on your system). | ||
| 313 | + | ||
| 314 | + | ||
| 292 | Python support | 315 | Python support |
| 293 | ~~~~~~~~~~~~~~ | 316 | ~~~~~~~~~~~~~~ |
| 294 | 317 |