Alternative created for library does not match SONAME
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
slurm-drmaa (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The alternative created for the library does not match the SONAME reported by libtool. This seems to create issues with some tools, notably for us python-drmaa:
me@hostname[
Python 2.7.3 (default, Apr 20 2012, 22:39:59)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import drmaa
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
import drmaa.wrappers as _w
File "/usr/lib/
_lib = CDLL(libpath, mode=RTLD_GLOBAL)
File "/usr/lib/
self._handle = _dlopen(self._name, mode)
OSError: libdrmaa.so.1: cannot open shared object file: No such file or directory
>>>
me@hostname[
It would seem that the alternatives database should be updated with an alternative name "libdrmaa.so.1", not "libdrmaa.so" as it is now. I don't know if the latter has been deprecated with DRMAA version 2 coming.
Thanks
Michael