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

**URL:** <https://forums.developer.nvidia.com/t/empty-linux86-64-18-10-lib-libpgkomp-so/135956>\
**Category:** Legacy PGI Compilers (archived)\
**Created:** [December 17, 2018, 3:35pm UTC](https://forums.developer.nvidia.com/t/empty-linux86-64-18-10-lib-libpgkomp-so/135956 "2018-12-17T15:35:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bert\_Wesarg](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Bert\_Wesarg](https://forums.developer.nvidia.com/u/Bert_Wesarg)\
**Post date:** [December 17, 2018, 3:35pm UTC](https://forums.developer.nvidia.com/t/empty-linux86-64-18-10-lib-libpgkomp-so/135956/1 "2018-12-17T15:35:49Z")

</div>

Dear all,

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

```nohighlight
$ 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.

---

<div class="post-metadata">

**Author:** ![MatColgrove](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/matcolgrove/32/14047_2.png) [@MatColgrove](https://forums.developer.nvidia.com/u/MatColgrove)\
**Post date:** [December 17, 2018, 11:34pm UTC](https://forums.developer.nvidia.com/t/empty-linux86-64-18-10-lib-libpgkomp-so/135956/2 "2018-12-17T23:34:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Bert\_Wesarg](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Bert\_Wesarg](https://forums.developer.nvidia.com/u/Bert_Wesarg)\
**Post date:** [December 18, 2018, 11:59am UTC](https://forums.developer.nvidia.com/t/empty-linux86-64-18-10-lib-libpgkomp-so/135956/3 "2018-12-18T11:59:59Z")

</div>

Dear Mat,

> [@mkcolg](#):
>
> Hi Bert,
> 
> > 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

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.

---

<div class="post-metadata">

**Author:** ![Bert\_Wesarg](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Bert\_Wesarg](https://forums.developer.nvidia.com/u/Bert_Wesarg)\
**Post date:** [December 18, 2018, 12:06pm UTC](https://forums.developer.nvidia.com/t/empty-linux86-64-18-10-lib-libpgkomp-so/135956/4 "2018-12-18T12:06:34Z")

</div>

Dear Mat,

> [@mkcolg](#):
>
> Hi Bert,
> 
> “libpgkomp” is our KMPC OpenMP runtime library which is only supported by our LLVM compilers.  
> -Mat

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

Bert

---

<div class="post-metadata">

**Author:** ![MatColgrove](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/matcolgrove/32/14047_2.png) [@MatColgrove](https://forums.developer.nvidia.com/u/MatColgrove)\
**Post date:** [December 21, 2018, 6:12pm UTC](https://forums.developer.nvidia.com/t/empty-linux86-64-18-10-lib-libpgkomp-so/135956/5 "2018-12-21T18:12:46Z")

</div>

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
