Skip to content

Fails to run on UNIX/Mac systems #9

@davidhooey

Description

@davidhooey

It would be awesome if it would work on UNIX systems. I hacked it to work on my Mac with the Oracle Instant Client (11.2.0.3).

Check out the hack here.

davidhooey@f483d71

Basically four things that needed to be done.

  1. Set the DYLD_LIBRARY_PATH environment variable to be system wide.
$ launchctl setenv DYLD_LIBRARY_PATH $DYLD_LIBRARY_PATH 
  1. Add the Instant Client to the PATH variable so Sublime can see it.
  2. Change sqlplus.exe to sqlplus.
  3. For some reason the USER_ERRORS query was failing. I should investigate this further but for now I removed this one query.

Also, Easy Connect needs to be used or Sublime will need to know how to get to the tnsnames.ora file. My build command file looks as follows.

{
    "target": "oracle_exec",
    "selector": "source.plsql.oracle",
    "variants":
    [
        {
            "name": "hooey-davidh",
            "dsn": "davidh/oracle@//hooey.mydomain.net/orcl"
        }
    ]
}

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions