LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   New software installation - Libraries errors (https://www.linuxquestions.org/questions/linux-software-2/new-software-installation-libraries-errors-921585/)

niiiro 01-02-2012 04:58 AM

New software installation - Libraries errors
 
Hey Guys,

I'm trying to install Beyond compare on a RHEL 6.1 distro. installation went fine but when running the binary - I'm getting the following output:

Code:

bcompare

Some Shared Libraries were not found
        linux-gate.so.1 =>  (0xf774c000)
        libz.so.1 => not found
        libqtc.so.1 => /usr/lib/beyondcompare/libqtc.so.1 (0xf721b000)
        libX11.so.6 => not found
        librt.so.1 => /lib/librt.so.1 (0xf7212000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf71f6000)
        libdl.so.2 => /lib/libdl.so.2 (0xf71f1000)
        libc.so.6 => /lib/libc.so.6 (0x00650000)
        libqt-mt.so.3 => /usr/lib/beyondcompare/libqt-mt.so.3 (0xf6ade000)
        libXext.so.6 => not found
        libX11.so.6 => not found
        libstdc++.so.6 => not found
        libm.so.6 => /lib/libm.so.6 (0xf6ab3000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf6a95000)
        /lib/ld-linux.so.2 (0x0062e000)
        libXrender.so.1 => not found
        libXrandr.so.2 => not found
        libXcursor.so.1 => not found
        libXinerama.so.1 => not found
        libXft.so.2 => not found
        libfreetype.so.6 => not found
        libfontconfig.so.1 => not found
        libXext.so.6 => not found
        libX11.so.6 => not found
        libSM.so.6 => not found
        libICE.so.6 => not found
        libstdc++.so.6 => not found

most of these packages, which mentioned as if they haven't been installed are actually installed!

Code:

rpm -qa | grep -i libsm
libSM-1.1.0-7.1.el6.x86_64
libSM-devel-1.1.0-7.1.el6.x86_64

Code:

rpm -qa | grep -i libice
libICE-1.0.6-1.el6.x86_64
libICE-devel-1.0.6-1.el6.x86_64

So I went thinking maybe it a PATH thing related.. and found out the PATH is defined well!

Code:

echo $PATH
/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/root/bin:/usr/lib64

Obviously, most of the files are located under /usr/lib64

Anyway.. where am I going wrong?!


Thanks in advanced.

Nir.

weibullguy 01-02-2012 08:51 AM

I assume you are on an x86_64 system and that's the reason most libraries are installed in lib64. One of two things is happening with Beyond.

Either, you installed a 32-bit version of Beyond and it is trying to use the 32-bit libraries (look at the output closely). You can try installing a 64-bit version of Beyond or installing all the 32-bit libraries you need.

The other thing that could be happening is you installed a precompiled version of Beyond and it was built to look for libraries in lib because it is not FHS compliant. If this is the case, you would need to rebuild Beyond from source.

niiiro 01-03-2012 01:04 AM

Thanks for your reply weibullguy.

I have downloaded the source(tar.gz), extracted it and installed it using their automatic installation script. but then, when running the binary, after installation was done, I get above errors.

Valery Reznic 01-03-2012 02:22 AM

Quote:

Originally Posted by niiiro (Post 4564337)
Thanks for your reply weibullguy.

I have downloaded the source(tar.gz), extracted it and installed it using their automatic installation script. but then, when running the binary, after installation was done, I get above errors.

Your rpm queries clearly show that packages you have are for x86-64 (64 bit). bcompare that you have is for i386 (32 bit),
so it can't find needed libraries.

As was suggested either install 32-bit version of the needed libraries, or make sure that your bcompare is 64 bit - automatic installation or not

niiiro 01-03-2012 03:26 AM

I guess you're right.

Thanks to both of you.


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