Empty ./linux86-64/18.10/lib/libpgkomp.so

Dear all,

this file is empty after extracting the pgilinux-2018-1810-x86-64.tar.gz package. The ‘LLVM’ one is not:

$ md5sum pgilinux-2018-1810-x86-64.tar.gz 
0e1598c05aa8faeb84e351c0f68274c3  pgilinux-2018-1810-x86-64.tar.gz
$ tar xvf pgilinux-2018-1810-x86-64.tar.gz install_components/linux86-64-llvm/18.10/lib/libpgkomp.so install_components/linux86-64/18.10/lib/libpgkomp.so
install_components/linux86-64-llvm/18.10/lib/libpgkomp.so
install_components/linux86-64/18.10/lib/libpgkomp.so
$ ls -la install_components/linux86-64-llvm/18.10/lib/libpgkomp.so install_components/linux86-64/18.10/lib/libpgkomp.so
-rwxr-xr-x 1 wesarg wesarg 15253 2018-12-05 03:11 install_components/linux86-64-llvm/18.10/lib/libpgkomp.so
-rw-r--r-- 1 wesarg wesarg     0 2018-12-05 03:11 install_components/linux86-64/18.10/lib/libpgkomp.so

Is this expected? I get loader errors, if I have binary which is linked against this library.

Hi Bert,

“libpgkomp” is our KMPC OpenMP runtime library which is only supported by our LLVM compilers.

The one over in the non-LLVM directory is vestigial from when our non-LLVM and LLVM compilers shared the same directories. I’ll see if we can remove it.

I get loader errors, if I have binary which is linked against this library.

This is most likely because you’ll need to set your LD_LIBRARY_PATH to the “install_components/linux86-64-llvm/18.10/lib” directory.

-Mat

Dear Mat,

Sorry, I was inaccurate. The error I got was, that it could not ‘load’ the library. It was found successfully though. But because it has a file size of zero, the loading failed.

Dear Mat,

what about libpgompstub.so, its also zero. Missed that in the first post. But not zero for LLVM.

Bert

Hi Bert,

I talked with one of our compiler folks about “libpgompstub.so”. It does look like there was a packaging mistake starting in 18.7 where this lib was included but should have been removed.

-Mat