Results 1 to 5 of 5

Thread: run sqlplus on ubuntu 32 bit

  1. #1
    Join Date
    Jul 2014
    Beans
    340

    Question run sqlplus on ubuntu 32 bit

    Hi all,

    Trying to run sql plus and got error:

    $ bash /home/user1/Downloads/instantclient_12_1/sqlplus
    /home/user1/Downloads/instantclient_12_1/sqlplus: /home/user1/Downloads/instantclient_12_1/sqlplus: can not execute binary file

    Thied this:
    chmod 777 sqlplus

    But it didn't help.

    Ubuntu 14.04.1 LTS
    Desktop: Lubuntu

    Any help?

  2. #2
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,705

    Re: run sqlplus on ubuntu 32 bit

    What kind of file is it? Try this command (that tries to identify the file type) and post the result:
    Code:
    file /home/user1/Downloads/instantclient_12_1/sqlplus

  3. #3
    Join Date
    Jul 2014
    Beans
    340

    Re: run sqlplus on ubuntu 32 bit

    $ file sqlplus
    sqlplus: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

    Now I guess that it is wrong platform, I should use 32-bit... But where can I get it?

  4. #4
    Join Date
    Jul 2014
    Beans
    340

    Re: run sqlplus on ubuntu 32 bit

    Tried instantclient_11_2 version.

    user@pc:~/Downloads/instantclient_11_2$ ./sqlplus
    ./sqlplus: error while loading shared libraries: libsqlplus.so: cannot open shared object file: No such file or directory

  5. #5
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,705

    Re: run sqlplus on ubuntu 32 bit

    Libsqlplus.so is a Shared Object file - equivalent of a windows DLL. It is not part of the normal Ubuntu repositories, so I don't know where you would get it from. I would have expected the sqlplus installer to install it.

Tags for this Thread

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
  •