LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-24-2013, 04:10 PM   #1
Dallas Caley
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Rep: Reputation: Disabled
I need openssl 32-bit on a CentOS 6.4 box. how?


My end goal here is to successfully install a program called 'Gold Standard Drug Database'. We have provisioned a CentOS 6.4 (64-bit) server from rackspace to install this on (not quite sure why they got a 64-bit one). The original error that led to this was:

./GSDDUpdate: error while loading shared libraries: libssl.so.10: wrong ELF class: ELFCLASS64

After googling i determined that this was because we had 64-bit drivers.

I've tried a number of ways to do this, the latests was to download this source:
http://www.openssl.org/source/openssl-1.0.1e.tar.gz
and then run these commands:

(download and untar the source, then cd inside, then:

./Configure linux-generic32 --shared
make

on the make i got these errors (after pages of make logs?)

make[2]: Entering directory `/home/dcaley/openssl-1.0.1e/apps'
../libcrypto.so: undefined reference to `rc4_md5_enc'
../libcrypto.so: undefined reference to `mod_exp_512'
collect2: ld returned 1 exit status
make[2]: *** [link_app.gnu] Error 1
make[2]: Leaving directory `/home/dcaley/openssl-1.0.1e/apps'
make[1]: *** [openssl] Error 2
make[1]: Leaving directory `/home/dcaley/openssl-1.0.1e/apps'
make: *** [build_apps] Error 1
 
Old 09-24-2013, 09:32 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Quote:
Originally Posted by Dallas Caley View Post
I've tried a number of ways to do this,
Did you try installing 32-bit versions of required libraries and exporting an appropriate LD_LIBRARY_PATH?


Quote:
Originally Posted by Dallas Caley View Post
Code:
make[2]: Entering directory `/home/dcaley/openssl-1.0.1e/apps'
../libcrypto.so: undefined reference to `rc4_md5_enc'
../libcrypto.so: undefined reference to `mod_exp_512'
collect2: ld returned 1 exit status
Does this post help?: https://www.linuxquestions.org/quest...4/#post4865522
 
1 members found this post helpful.
Old 09-24-2013, 11:13 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,552

Rep: Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112Reputation: 2112
Code:
yum install openssl.i686
CentOS and other RPM distros are incredibly easy to run multilib setups. You're making this much more complicate than necessary.
 
1 members found this post helpful.
Old 09-25-2013, 11:52 AM   #4
Dallas Caley
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks got it...

Thanks to both of you, unfortunately (for my learning) my boss figured out how to do this last night apparently so i wont get a chance to try these suggestion. If i can get out of him what he did, i'll post it here for others to use.

Last edited by Dallas Caley; 09-25-2013 at 11:54 AM.
 
Old 09-25-2013, 01:53 PM   #5
Dallas Caley
LQ Newbie
 
Registered: Sep 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Looks like it may have been a combination of the answers.

this is what he did to fix it

yum install glibc.i686
yum install libstdc++.i686
yum install openssl.i686

and something about sim-links that i didn't understand. hope this helps someone...
 
Old 09-25-2013, 05:40 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
He installed the 32-bit versions. And it's symlink (as in "symbolic link" aka 'man ln').
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How does one convert a Fedora Core 4 box into CentOs 5 box in a live environment? 242 Linux - Newbie 3 01-17-2011 11:25 PM
Downgrading openssl on Centos onesikgypo Linux - Newbie 2 09-27-2010 09:51 PM
LXer: Install HVM FreeBSD 7.0 DomU (32-bit) at Xen 3.2.1 CentOS 5.1 Dom0 (64-bit) LXer Syndicated Linux News 0 05-01-2008 09:00 PM
LXer: Install Xen 3.1 Solaris domU (64 bit) under CentOS 5 dom0 (64 bit) LXer Syndicated Linux News 0 09-21-2007 01:00 AM
32-bit compatibility on a 64-bit AMD box ?? Rod Butcher Linux - General 4 01-11-2007 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration