LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-04-2014, 01:56 PM   #1
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Rep: Reputation: 2
32bit applications on 64bit centos


i have compiled file work under 32bit centos,
i need it to work under 64bit centos.
what i should install to make it work ?
thanks.
 
Old 06-04-2014, 01:57 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
convert it to a rpm
 
Old 06-04-2014, 01:57 PM   #3
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Original Poster
Rep: Reputation: 2
./xx: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
 
Old 06-04-2014, 01:59 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
install the 32 bit i686 rpms on the 64 bit system
very easy it a rpm is used
 
Old 06-04-2014, 02:03 PM   #5
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Original Poster
Rep: Reputation: 2
#yum install glibc.i686
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: distrib-coffee.ipsl.jussieu.fr
* epel: epel.mirrors.ovh.net
* extras: glass.overcloud.pt
* updates: ftp.ciril.fr
Setting up Install Process
Package glibc-2.12-1.132.el6_5.2.i686 already installed and latest version
Nothing to do
 
Old 06-04-2014, 02:20 PM   #6
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Your 32-bit Centos has a copy of libcurl-gnutls.so.4

Do you know where it came from?

I did a quick google search for "libcurl-gnutls.so"
I found several sites that offer download of an i686 build of an rpm including libcurl-gnutls.so.4

If you trust any of those, you could install one of those rpm files.

In such situations, I normally start with the following command as root:
Code:
yum provides "*/libcurl-gnutls.so*"
But on my 64-bit centos, that found nothing. I expect the same on your 64-bit Centos. But if it finds something on your 32-bit Centos, that could be a better starting point than the google search I suggested above.

Last edited by johnsfine; 06-04-2014 at 02:25 PM.
 
Old 06-04-2014, 02:58 PM   #7
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Original Poster
Rep: Reputation: 2
i mess my 32bit centos,
in my 64bit centos i got:
# yum provides "*/libcurl-gnutls.so*"
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: distrib-coffee.ipsl.jussieu.fr
* epel: mirrors.coreix.net
* extras: mirror.in2p3.fr
* updates: ftp.ciril.fr
base/filelists_db | 5.9 MB 00:19
epel/filelists_db | 8.6 MB 00:00
extras/filelists_db | 11 kB 00:00
updates/filelists_db | 2.0 MB 00:00
No Matches found
 
Old 06-04-2014, 10:21 PM   #8
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 183

Original Poster
Rep: Reputation: 2
no solution ??
 
Old 06-04-2014, 10:44 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
from a 2010 post of mine here on LQ
http://www.linuxquestions.org/questi...-4-rpm-831866/

you need to do this in the 32 bit lib folder
/usr/lib

Code:
ln -s libcurl.so.4 libcurl-gnutls.so.4

what is this unknown program you built on cent ?
and WHAT version of cent did you build it on ?

libcurl.so.4
is in the 32 bit
libcurl-7.19.7-37.el6_5.3.i686

Last edited by John VV; 06-04-2014 at 10:50 PM.
 
1 members found this post helpful.
  


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
GTK-2.0 issues on Debian 64bit in several 32bit applications radant Linux - Desktop 1 06-11-2011 12:03 PM
64bit Centos: need to run 32bit applications. bluepepsi Linux - Server 15 09-21-2009 07:58 AM
RH EL5 64bit With 32bit Applications SteveT Red Hat 5 08-07-2008 06:52 AM
32bit applications installed on 64bit, apt fails. Marchsteiner Linux - Server 2 10-06-2006 05:32 AM
Cannot load DSO (32bit) in 64bit CentOS jasperphang Linux - Newbie 4 07-27-2006 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:39 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
Open Source Consulting | Domain Registration