lmgrd issues

Hi,

I have installed 18.7 on ubuntu 18.04. When I start the license manager, I get the error “no such file or directory” for everything in the /opt/pgi/linux86-64/flexlm directory. The files are clearly there and executables.

/opt/pgi/linux86-64/flexlm# ./lmutil
bash: ./lmutil: No such file or directory

Any idea what can cause this? The ubuntu is de facto a pristine install.

Thanks, Jan

Hi Jan,

Run ldd on the lmutil binary:

$ ldd ./lmutil
        linux-vdso.so.1 =>  (0x00007fff8d7a6000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe3e44e5000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe3e41df000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe3e3fc9000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe3e3c00000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe3e39fc000)
        /lib64/ld-lsb-x86-64.so.3 => /lib64/ld-linux-x86-64.so.2 (0x00007fe3e4703000)

Often the issue is the lsb runtime library is missing:

$ ls -lap /lib64/ld*
lrwxrwxrwx 1 root root 32 Jan 15  2018 /lib64/ld-linux-x86-64.so.2 -> /lib/x86_64-linux-gnu/ld-2.19.so

lmutil is expecting to link to ld-lsb-x86-64.so.3, which doesn’t exist by default on fresh Ubuntu installations. You can symlink the existing ld library to it like so, or use apt-get to install the lsb package.

sudo ln -s /lib64/ld-linux-x86-64.so.2 /lib64/ld-lsb-x86-64.so.3

Excellent, thank you! After installing lsb-core, all works.

I should have known this from past experience but I forgot about it.

Thanks, Jan