IBM now gives CPLEX to academics for free; as I am computing LP bounds for quantum codes, I got myself one. However, it refused to install on my amd64 Debian system, saying
"libgcc_s.so.1 must be installed for pthread_cancel to work".
After much googling, it turned out that the installer is a 32-bit program, that needs the right 32-bit libgcc_s.so to work.
To get this on Debian (squeeze), I just did
$ apt-get install ia32-libs
worked as it should.
The installation goes smoothly on a 64-bit MacOSX 10.6. But running is not: one has problems when doing
>>> import cplex
from cplex._internal.py1013_cplex122 import *
ImportError: dlopen(/Library/Python/2.6/site-packages/cplex/_internal/py1013_cplex122.so, 2): no suitable image found. Did find:
/Library/Python/2.6/site-packages/cplex/_internal/py1013_cplex122.so: mach-o, but wrong architecture
One can make it work on by setting
$ export VERSIONER_PYTHON_PREFER_32_BIT=yes
before starting the Python session (as IBM/CPLEX Support kindly told me; they promised a fix in an upgrade, too).