LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   32bit applications on 64bit centos (https://www.linuxquestions.org/questions/linux-software-2/32bit-applications-on-64bit-centos-4175507056/)

!! hack-back !! 06-04-2014 01:56 PM

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.

John VV 06-04-2014 01:57 PM

convert it to a rpm

!! hack-back !! 06-04-2014 01:57 PM

./xx: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory

John VV 06-04-2014 01:59 PM

install the 32 bit i686 rpms on the 64 bit system
very easy it a rpm is used

!! hack-back !! 06-04-2014 02:03 PM

#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

johnsfine 06-04-2014 02:20 PM

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.

!! hack-back !! 06-04-2014 02:58 PM

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

!! hack-back !! 06-04-2014 10:21 PM

no solution ??

John VV 06-04-2014 10:44 PM

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


All times are GMT -5. The time now is 05:22 PM.