Installing libgthread Libraries

7/9/2019
Antonio Morawski & Steve DiBartolomeo

 

Problem

A customer of Artwork's reported that on his Linux CentOS workstation he could not run our Netexg software because his workstation was missing libgthread libraries.

hanamalia:tester: $ ./multilyr_test.sh 
/home/cad/netexg/artwork/netexgmgr: error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file: No such file or directory

Workaround

The customer had to download from the web and install the libgthread libraries which are part of the glib2-devel libraries.

hanamalia:tester: $ su
Password: 


hanamalia:tester: yum install glib2-devel.i686
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirrors.xtom.com
 * extras: centos.mirror.ndchost.com
 * updates: sjc.edge.kernel.org
Resolving Dependencies
--> Running transaction check
---> Package glib2-devel.i686 0:2.28.8-10.el6 will be installed
--> Processing Dependency: glib2 = 2.28.8-10.el6 for package: glib2-devel-2.28.8-10.el6.i686
--> Processing Dependency: libgthread-2.0.so.0 for package: glib2-devel-2.28.8-10.el6.i686
--> Processing Dependency: libgobject-2.0.so.0 for package: glib2-devel-2.28.8-10.el6.i686
--> Processing Dependency: libgmodule-2.0.so.0 for package: glib2-devel-2.28.8-10.el6.i686
--> Processing Dependency: libglib-2.0.so.0 for package: glib2-devel-2.28.8-10.el6.i686
--> Processing Dependency: libgio-2.0.so.0 for package: glib2-devel-2.28.8-10.el6.i686
--> Running transaction check
---> Package glib2.x86_64 0:2.28.8-9.el6 will be updated
--> Processing Dependency: glib2 = 2.28.8-9.el6 for package: glib2-devel-2.28.8-9.el6.x86_64
---> Package glib2.i686 0:2.28.8-10.el6 will be installed
--> Processing Dependency: libselinux.so.1 for package: glib2-2.28.8-10.el6.i686
--> Processing Dependency: libfam.so.0 for package: glib2-2.28.8-10.el6.i686
---> Package glib2.x86_64 0:2.28.8-10.el6 will be an update
--> Running transaction check
---> Package gamin.i686 0:0.1.10-9.el6 will be installed
---> Package glib2-devel.x86_64 0:2.28.8-9.el6 will be updated
---> Package glib2-devel.x86_64 0:2.28.8-10.el6 will be an update
---> Package libselinux.i686 0:2.0.94-7.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

Summary

After the installation was completed, the client was able to use the software with no issues.

Ubuntu Linux

On Ubuntu based systems you will need to use the apt-get install command. You will need to put the library name on the command line. For example:

apt-get install libXp