License manager lmgrd: 32-bit executable within 64-bit CentOS

Issues related to applications and software problems
Post Reply
ttemsk
Posts: 10
Joined: 2020/02/09 20:19:15

License manager lmgrd: 32-bit executable within 64-bit CentOS

Post by ttemsk » 2020/03/01 19:05:47

Dear Gurus, another bump in my road to Microsemi FPGA tools. As a part of the installation procedure I'm supposed to install and start the license manager. The command to start fails however:

Code: Select all

./Linux_Licensing_Daemon/lmgrd -c ./flexlm/License.dat -log /tmp/lmgrd.log
bash: ./Linux_Licensing_Daemon/lmgrd: /lib/ld-lsb.so.3: bad ELF interpreter: No such file or directoryhttps://forums.centos.org/viewforum.php?f=48#
I read from the net that this is a symptom of trying to launch a 32-bit executable without CentOS 32-bit support installed. Indeed the license manager seems to be 32-bit:

Code: Select all

[mikko@localhost ~]$ file ./Linux_Licensing_Daemon/lmgrd
./Linux_Licensing_Daemon/lmgrd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
I read that remedy should be to install glibc.i686 or possibly redhat-lsb. I however have both of them installed:

Code: Select all

[mikko@localhost ~]$ sudo yum -y install glibc.i686
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirror.far.fi
 * extras: centos.mirror.far.fi
 * updates: mirror.one.com
Package glibc-2.17-292.el7.i686 already installed and latest version
Nothing to do
[mikko@localhost ~]$ sudo yum -y install redhat-lsb
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: centos.mirror.far.fi
 * extras: centos.mirror.far.fi
 * updates: mirror.one.com
Package redhat-lsb-4.1-27.el7.centos.1.x86_64 already installed and latest version
Nothing to do
I can check the libraries the lmgrd needs, but I'm at loss about what is missing (and somewhat puzzled abut how the library versions are tracked in Linux in general):

Code: Select all

[mikko@localhost ~]$ ldd ./Linux_Licensing_Daemon/lmgrd
	linux-gate.so.1 =>  (0xf771d000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xf76e6000)
	libm.so.6 => /lib/libm.so.6 (0xf76a4000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7689000)
	libc.so.6 => /lib/libc.so.6 (0xf74be000)
	libdl.so.2 => /lib/libdl.so.2 (0xf74b8000)
	/lib/ld-lsb.so.3 => /lib/ld-linux.so.2 (0xf771e000)
I realize this should probably be answered by Microsemi support, but I'm not sure how it works - at least there does not seem to be a peer-support forum like this one for CentOS. And the problem seems to be general enough so that someone here may recoginize the problem right away. Microsemi provides a script check_linux_req.sh which supposedly reports on missing parts in the particular CentOS installation, but curious enough, it reports that all is fine.

Any hints highly appreciated.

sml
Posts: 115
Joined: 2020/01/17 09:01:44

Re: License manager lmgrd: 32-bit executable within 64-bit CentOS

Post by sml » 2020/03/01 19:13:33

ttemsk wrote:
2020/03/01 19:05:47
I read that remedy should be to install glibc.i686 or possibly redhat-lsb. I however have both of them installed:

Code: Select all

...
Package redhat-lsb-4.1-27.el7.centos.1.x86_64 already installed and latest version
...
It only shows the 64-bit package.

Code: Select all

yum install redhat-lsb-core.i686

ttemsk
Posts: 10
Joined: 2020/02/09 20:19:15

Re: License manager lmgrd: 32-bit executable within 64-bit CentOS

Post by ttemsk » 2020/03/01 19:44:55

No error message any more - this seems to have fixed it. Impressive. Thanks!

Post Reply

Return to “CentOS 7 - Software Support”