Commit d1d2206
CI: install openssl from conda-forge before gamspy in test-agnostic job (#615)
* CI: install openssl from conda-forge before gamspy in test-agnostic job
Recent gamspy_base releases link against OpenSSL 3.2+, but the
ubuntu-latest runner ships OpenSSL 3.0.x (Ubuntu 22.04), causing
a runtime failure:
GamsException: Could not load libjoatdclib64.so:
version 'OPENSSL_3.2.0' not found
Installing openssl from conda-forge puts a new enough libssl.so.3
on the conda LD_LIBRARY_PATH before gamspy is installed, satisfying
the versioned-symbol requirement and unblocking all open PRs.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* CI: also set LD_LIBRARY_PATH so conda's OpenSSL takes priority
conda does not automatically add its lib dir to LD_LIBRARY_PATH, so
the system linker still found the system libssl.so.3 (OpenSSL 3.0.x)
first, even after installing a newer openssl from conda-forge.
Exporting CONDA_PREFIX/lib at the front of LD_LIBRARY_PATH ensures
the conda-forge OpenSSL (which provides OPENSSL_3.2.0) is found
before the system one when gamspy loads its native shared library.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent c8fa551 commit d1d2206
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
| 541 | + | |
| 542 | + | |
541 | 543 | | |
542 | 544 | | |
543 | 545 | | |
| |||
0 commit comments