Shared objects on 64-bit Linux systems
Posted by Sven Koester, Last modified by Andre Kuehnemund on 31 March 2014 12:38

Shared objects are loaded by the PresSTORE application during runtime.
On 64 bit systems, this might fail under some rare conditions:
As far as we know, there is no standardized way to differentiate between 32 bit and 64 bit shared objects by their name only. Usually, the shared objects are kept in different directories depending on their format.
PresSTORE is currently a 32 bit application and thus requires 32 bit shared object files.  Please ensure and check the process environment (namely the path variable) in case starting PresSTORE results in a message stating a shared object file cannot be loaded - even though it appears to be present.

On SuSE Linux 11.2 64 Bit, use YaST  to install the following two packages:
libacl-32bit
pam-32bit
to run PresSTORE. This has been tested on Open SuSE 11.2 and 12.2 with kde4 installed,
additional libraries might be required with different setups.

Here are some further 64 bit Linux dependencies reported from our customers:

A PAM related problem with Debian 64 Bit is described in detail here
http://portal.archiware.com/support/index.php?/Knowledgebase/Article/View/96/0/error-regarding-pam_unixso-on-64-bit-debian-linux

An Ubuntu 64 Bit Linux has been reported to run PresSTORE after installing the following libraries:
apt-get install ia32-libs
apt-get install lsb-core

A RedHat 6.1 64-bit Linux has been reported to run PresSTORE after installing the following libraries:

bzip2-libs.i686
elfutils-libelf.i686
glibc.i686
nss-softokn-freebl.i686
xz-libs.i686
zlib.i686
elfutils-libs.i686 
libgcc.i686
libattr.i686
libacl.i686
audit-libs.i686
cracklib.i686
db4.i686
libselinux.i686
pam.i686

 

On CentOS 6.4, in addition to the libraries listed for RedHat, the following libraries had to be installed:

libgcc.x86_64  (had to be installed prior to installing libgcc.i686)

pam.x86_64 (This updated the version that was already installed and was necessary in order for pam.i686 to install)

 

 

 

Error message in 64-bit Ubuntu:

...

[29/Mar/2013:18:19:16][22137.f73686c0][-main-] Error: modload: /usr/local/aw/bin/libarchdev.so: couldn't load file "/usr/local/aw/bin/libarchdev.so": libacl.so.1: cannot open shared object file: No such file or directory
[29/Mar/2013:18:19:16][22137.f73686c0][-main-] Fatal: modload: failed to load module '/usr/local/aw/bin/libarchdev.so'
jd@jd-SVT1313V1ES:/usr/local/aw$ 

...

 

 

 

keywords: missing linux 32bit 32-bit 64bit 64-bit

(918 vote(s))
Helpful
Not helpful

Comments (6)
Lucas Nap
17 June 2013 13:08
Hi,

I am not able to install the pam.i686 on my CentOS 6.3 installation, I receive the error:

Error: Protected multilib versions: pam-1.1.1-13.el6.i686 != pam-1.1.1-10.el6_2.1.x86_64

So, my guess is that because the 64bit pam is already installed and is in the way for the 32bit to be installed.

Do you know a way to solve this?

thanks
Lucas Nap
17 June 2013 13:12
Fixed it!

I needed to upgrade the pam.x86_64 library first.
Matthew Laycock
12 March 2014 22:23
I am installing on Oracle Linux 6.2 (RHEL) and ran into a few more of the locking libraries. I had to do the same trick upgrading to xx.x86_64 and then install the 32bit libs:

bzip2-libs.i686
elfutils-libelf.i686
glibc.i686
nss-softokn-freebl.i686
xz-libs.i686
zlib.i686 --> zlib.x86_64
elfutils-libs.i686
libgcc.i686 --> libgcc.x86_64 --> libgcc.i686
libattr.i686
libacl.i686
audit-libs.i686 --> audit-libs.x86_64 --> audit-libs.i686
cracklib.i686
db4.i686 --> db4.x86_64 --> db4.i686
libselinux.i686 --> libselinux.x86_64 --> libselinux.i686
pam.i686 --> pam.x86_64 --> pam.i686
Cal S
03 April 2014 10:25
Archiware: have you considered building 64-bit versions of Presstore? If not, why not?
Mike Szumlinski
09 July 2014 19:34
For the lazy, I put all of the CentOS/RHEL libs onto a single line. Copy, paste, hit enter.

yum -y install bzip2-libs.i686 elfutils-libelf.i686 glibc.i686 nss-softokn-freebl.i686 xz-libs.i686 zlib.i686 elfutils-libs.i686 libgcc.i686 libattr.i686 libacl.i686 audit-libs.i686 cracklib.i686 db4.i686 libselinux.i686 pam.i686
Andre Kuehnemund
07 April 2015 12:23
We're working on it.
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).