Find the answer to your Linux question:
Results 1 to 6 of 6
Hello, everyone. I am very new to linux. I encountered some questions during the time with a x86_64 centos 6.2. I can not help myself to stop posting something to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2013
    Location
    The city of Beijing
    Posts
    12

    Question Some confusions about shared libs when I installed "beyond compare" .


    Hello, everyone. I am very new to linux. I encountered some questions during the time with a x86_64 centos 6.2. I can not help myself to stop posting something to break my confusions.
    Recently I installed a so called "beyond compare for linux" to my centos 6.2 x86_64. The readme of this software said if the linux distro is 32bit all will be OK and if the linux distro is 64bit then some additional libs should be installed firstly and their version sould be 32bit.
    I installed those listed libs by yum. Some succeed, some failed. Then I try the install. Then I run the /usr/bin/bcompare. It prompted as below:
    Code:
    [root test bin]# ./bcompare
    Some Shared Libraries were not found
     linux-gate.so.1 =>  (0x0026f000)
     libz.so.1 => /lib/libz.so.1 (0x003a9000)
     libqtc.so.1 => /usr/lib/beyondcompare/libqtc.so.1 (0x003bd000)
     libX11.so.6 => /usr/lib/libX11.so.6 (0x00110000)
     librt.so.1 => /lib/librt.so.1 (0x00249000)
     libpthread.so.0 => /lib/libpthread.so.0 (0x00f98000)
     libdl.so.2 => /lib/libdl.so.2 (0x00252000)
     libc.so.6 => /lib/libc.so.6 (0x0091f000)
     libqt-mt.so.3 => /usr/lib/beyondcompare/libqt-mt.so.3 (0xf7083000)
     libXext.so.6 => not found
     libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00afc000)
     libm.so.6 => /lib/libm.so.6 (0x00e90000)
     libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00270000)
     libxcb.so.1 => /usr/lib/libxcb.so.1 (0x0028e000)
     /lib/ld-linux.so.2 (0x008fd000)
     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 => /usr/lib/libfreetype.so.6 (0x002ae000)
     libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00346000)
     libXext.so.6 => not found
     libSM.so.6 => not found
     libICE.so.6 => not found
     libXau.so.6 => /usr/lib/libXau.so.6 (0x00257000)
     libexpat.so.1 => /lib/libexpat.so.1 (0x0037b000)
    ------------------------
    Above is the prompt. I remember that I have successfully run "yum install libz*i686". But I wonder why the second line of the prompt list is still prompt that libz.so.1 is not found?
    Anyone can break my confusion? And better condition, anyone can fix the beyond compare for me? Thanks!
    Last edited by atreyu; 05-10-2013 at 03:46 AM. Reason: added CODE tags to aid in readability

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    hi,

    that seems like a headache to me. why not try meld? if it is in your repos, you can do:

    Code:
    yum install meld

  3. #3
    Just Joined!
    Join Date
    May 2013
    Location
    The city of Beijing
    Posts
    12
    Quote Originally Posted by atreyu View Post
    hi,

    that seems like a headache to me. why not try meld? if it is in your repos, you can do:

    Code:
    yum install meld
    Thanks for advise. I get meld from that web page. By the way, in my machine(centos 6.2 x86_64), the result of running your code is below:
    Code:
    [root test peter]# yum install meld
    Loaded plugins: aliases, changelog, downloadonly, fastestmirror, kabi, presto,
                  : refresh-packagekit, security, tmprepo, verify, versionlock
    Loading support for CentOS kernel ABI
    Loading mirror speeds from cached hostfile
     * base: mirrors.yun-idc.com
     * extras: mirrors.yun-idc.com
     * updates: mirrors.yun-idc.com
    Setting up Install Process
    No package meld available.
    Error: Nothing to do
    But, anyway, I got much more used to beyond compare than this meld. I still miss beyond compare.

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Quote Originally Posted by cmpltrtok View Post
    By the way, in my machine(centos 6.2 x86_64), the result of running your code is below:
    you can install it by installing the EPEL repo. it is a huge 3rd party software repository for CentOS that is run by the Red Hat folks.

    But, anyway, I got much more used to beyond compare than this meld. I still miss beyond compare.
    yeah, i hear ya. change is hard. you can try to satisfy those missing libs, i guess.

    Code:
     libXext.so.6 => not found
     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
     libXext.so.6 => not found
     libSM.so.6 => not found
     libICE.so.6 => not found
    try this:
    Code:
    yum install libXext libXrender libXrender libXrandr libXcursor libXinerama libXft libSM libICE
    if that works, then try to run your prog again.

  6. #5
    Just Joined!
    Join Date
    May 2013
    Location
    The city of Beijing
    Posts
    12
    Quote Originally Posted by atreyu
    try this:
    Code:
    yum install libXext libXrender libXrender libXrandr libXcursor libXinerama libXft libSM libICE
    I tried this, but it does not work.
    I then tried below, it works!!
    Code:
    yum install*i686 libXext*i686 libXrender*i686 libXrender*i686 libXrandr*i686 libXcursor*i686 libXinerama*i686 libXft libSM*i686 libICE*i686
    Thank you, atreyu!
    And my original confusion was solved too! In that mass prompts, only libaries labeled "not found" is lacking and needed further installing.
    Last edited by cmpltrtok; 05-11-2013 at 06:18 AM. Reason: For adding content.

  7. #6
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    ah, glad you figured that out!

    i'll go ahead and mark this as Solved for you. Note that you can do this at any time using the Thread Tools link at the top of the page.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •