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. |
convert it to a rpm
|
./xx: error while loading shared libraries: libcurl-gnutls.so.4: cannot open shared object file: No such file or directory
|
install the 32 bit i686 rpms on the 64 bit system
very easy it a rpm is used |
#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 |
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*" |
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 |
no solution ??
|
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. |