LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 03: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, 08:32 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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, 10:13 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
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, 10: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 10:54 AM.
 
Old 09-25-2013, 12: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, 04:40 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

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


Reply



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 10:25 PM
Downgrading openssl on Centos onesikgypo Linux - Newbie 2 09-27-2010 08: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 08: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 12:00 AM
32-bit compatibility on a 64-bit AMD box ?? Rod Butcher Linux - General 4 01-11-2007 05:10 PM

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

All times are GMT -5. The time now is 08:15 AM.

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
Open Source Consulting | Domain Registration