Subject: slurm-drmaa-dev: Missing symlink for libdrmaa.so.1
Package: slurm-drmaa-dev
Version: 1.0.7-1+b1
Severity: normal

Dear Maintainer,

Consider this simple "Hello DRMAA" program

  #include "drmaa.h"
  int main()
  {
    char diagnosis[DRMAA_ERROR_STRING_BUFFER];
    drmaa_init(NULL, diagnosis, sizeof(diagnosis)-1);
  }

I can compile it with the command

  gcc drmaa_init.c -o drmaa_init -ldrmaa

Running it gives me the error

  drmaa_init: error while loading shared libraries: libdrmaa.so.1: cannot open 
shared object file: No such file or directory

The real libraries are in

  /usr/lib/slurm-drmaa/lib

with symlinks set up using the alternatives section.  There is a link for

  libdrmaa.so

but not for

  libdrmaa.so.1

I can work around it using RPATH or LD_LIBRARY_PATH, but my impression
is that it should not be required.

Thank you,
Walter Landry


-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages slurm-drmaa-dev depends on:
ii  slurm-drmaa1  1.0.7-1+b1

slurm-drmaa-dev recommends no packages.

slurm-drmaa-dev suggests no packages.

-- no debconf information

Reply via email to