Find the answer to your Linux question:
Results 1 to 7 of 7
I found an application that I think fills my requirements to finally migrate my workplace away from MS workstations. I am testing out an evaluation package in .sh format. When ...
  1. #1
    Just Joined! scott.g's Avatar
    Join Date
    Jun 2007
    Posts
    15

    Need guidance lib errors when running .sh script

    I found an application that I think fills my requirements to finally migrate my workplace away from MS workstations. I am testing out an evaluation package in .sh format. When I try to run the script as root I get lib errors, so I think I may not have the proper libs installed for this script. I am new to linux and am working up the learning curve so thinks for being patient. Here is a snippet of the install errors, all errors are very similar.

    Thanks in advance for any guidance, Scott (working on being an x softie)

    linux-1:/home/scott.g # /usr/bin/sh pt.sh
    Preparing to install...
    Extracting the JRE from the installer archive...
    Unpacking the JRE...
    Extracting the installation resources from the installer archive...
    Configuring the installer for this system's environment...
    dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    /bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
    basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory

  2. #2
    Just Joined! sharik_pahwa's Avatar
    Join Date
    Jun 2007
    Posts
    29
    i faced the same problem, refer to following link, it helped me :-

    http://publib.boulder.ibm.com/infoce...nux_error.html

    might help

  3. #3
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    You need glibc and possibly gettext. They should all be in YAST.

  4. #4
    Just Joined! scott.g's Avatar
    Join Date
    Jun 2007
    Posts
    15
    Thanks for the replies and tips guys? I will follow the link, and install the libs, I was unsure out of the huge list which set I actually needed.

    Appreciate it, Scott

  5. #5
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    What do you mean huge software list, from where? Go to Suse menu >> System >> YaST control center >> Software management and install glib etc. from the repositories. If you need to add repositories click on "Installation Source" in YaST and add some repositories for your version of SUSE which you'll find on SuSE's website.

    (Note, I might be a bit off with this, I don't use suse)

  6. #6
    Just Joined! scott.g's Avatar
    Join Date
    Jun 2007
    Posts
    15
    well understand I am new to linux, I did find last evening the YaST software management tool is much intuitive compared to the gnome install software off of the desktop menu. I browsed that listing and there were tons of what I remember as this lib, and that lib... I know not what lib I needed!

    Thanks tons for your help. I know I'll have lots of questions in the next few weeks, but am having a blast with linux and am already at a point where I can start replacing most the windows workstations here, we have about 20.

    Scott

  7. #7
    Linux User netstrider's Avatar
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    474
    You need glibc, version would probably be something like 2.4. For all you know you already have it. Try this command in the terminal and post the output.
    Code:
    /lib/libc.so.6 | head -n1 | cut -d" " -f1-7

Posting Permissions

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