LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-02-2012, 04:58 AM   #1
niiiro
Member
 
Registered: Feb 2010
Posts: 75

Rep: Reputation: 1
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.

Last edited by niiiro; 01-02-2012 at 04:59 AM.
 
Old 01-02-2012, 08:51 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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.
 
1 members found this post helpful.
Old 01-03-2012, 01:04 AM   #3
niiiro
Member
 
Registered: Feb 2010
Posts: 75

Original Poster
Rep: Reputation: 1
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.
 
Old 01-03-2012, 02:22 AM   #4
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 676

Rep: Reputation: 137Reputation: 137
Quote:
Originally Posted by niiiro View Post
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
 
1 members found this post helpful.
Old 01-03-2012, 03:26 AM   #5
niiiro
Member
 
Registered: Feb 2010
Posts: 75

Original Poster
Rep: Reputation: 1
I guess you're right.

Thanks to both of you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Missing Libraries during software compilation/installation? eliote Linux - Software 7 09-12-2011 04:48 PM
GCC returns errors in system libraries hennipaste Linux - Software 2 04-04-2010 09:04 PM
Compilation errors with compiling a program with boost libraries 1.39 Metal_Koola Programming 5 12-04-2009 07:13 PM
Installation of Ekiga and necessary libraries linlou Linux - Newbie 0 04-11-2006 05:24 AM
Errors with shared libraries with K3b and superkaramba JockVSJock Slackware 13 02-10-2006 08:40 AM

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

All times are GMT -5. The time now is 03:20 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