Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Sh problems

  1. #1
    Join Date
    Nov 2009
    Location
    nj, usa
    Beans
    101
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Sh problems

    whenever i try to extract a .bin file(sh nameoffile.bin) it says:
    Code:
    avin@STUDYROOML:~/Downloads$ sh java_ee_sdk-5_01-linux.bin
    java_ee_sdk-5_01-linux.bin: 1: Syntax error: "(" unexpected
    Last edited by bluestar14; December 15th, 2009 at 12:55 AM.
    thanks!

  2. #2
    NoaHall is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Mar 2009
    Beans
    1,562
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Sh problems

    sh isn't a extracting program, it's a shell language interpreter. To run a .bin file, all you need to do is enter the full location and press enter.

  3. #3
    Join Date
    Nov 2009
    Location
    nj, usa
    Beans
    101
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question Re: Sh problems

    still won't work, i tried:
    Code:
    avin@STUDYROOML:~/Downloads$ ~/Downloads/java_ee_sdk-5_01-linux.bin
    /home/avin/Downloads/java_ee_sdk-5_01-linux.bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
    Last edited by bluestar14; December 15th, 2009 at 12:59 AM.
    thanks!

  4. #4
    Join Date
    Feb 2009
    Location
    London, UK
    Beans
    16
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Sh problems

    Try

    Code:
    ./java_ee_sdk-5_01-linux.bin

  5. #5
    Join Date
    Nov 2009
    Location
    nj, usa
    Beans
    101
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Sh problems

    it shows same thing as said above
    thanks!

  6. #6
    NoaHall is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Mar 2009
    Beans
    1,562
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Sh problems

    You need to install libstdc++.so.5. Run
    Code:
    apt-cache search libstdc++
    Then see if the version is there. If you have gcc++ installed, it should also be installed. You might want to run
    Code:
    sudo ldconfig
    Last edited by NoaHall; December 15th, 2009 at 01:08 AM.

  7. #7
    Join Date
    Apr 2008
    Location
    California Republic
    Beans
    2,657

    Re: Sh problems

    mind showing us this .bin file?

    Code:
    cat ~/Downloads/java_ee_sdk-5_01-linux.bin
    if it's all gobbeldy-gook, then that wont be helpful.... but if its just a script of some sort (meaning you will see letters and numbers and stuff), it may shed some light on the situation.
    Semper Fi

    My Non-Ubuntu Blog.
    All posts by me are Public Domain.

  8. #8
    NoaHall is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Mar 2009
    Beans
    1,562
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Sh problems

    Quote Originally Posted by earthpigg View Post
    mind showing us this .bin file?

    Code:
    cat ~/Downloads/java_ee_sdk-5_01-linux.bin
    if it's all gobbeldy-gook, then that wont be helpful.... but if its just a script of some sort (meaning you will see letters and numbers and stuff), it may shed some light on the situation.
    He's trying to install the java sdk file by the looks of it.

  9. #9
    Join Date
    Nov 2009
    Location
    nj, usa
    Beans
    101
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Sh problems

    well, its gobbely-gork
    thanks!

  10. #10
    Join Date
    Nov 2009
    Location
    nj, usa
    Beans
    101
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Sh problems

    Quote Originally Posted by NoaHall View Post
    You need to install libstdc++.so.5. Run
    Code:
    apt-cache search libstdc++
    Then see if the version is there. If you have gcc++ installed, it should also be installed. You might want to run
    Code:
    sudo ldconfig
    The version isn't there
    thanks!

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

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