Giter VIP home page Giter VIP logo

Comments (9)

tkilias avatar tkilias commented on August 16, 2024

Hi @markheckmann,

I can't say it for sure, but I have an idea what it could be. It is possible, that you are missing the development package for unixodbc, it has probably a name similar to unixodbc-dev or unixodbc-devel. This package usually contains the missing header files.

from r-exasol.

markheckmann avatar markheckmann commented on August 16, 2024

I saw that the dev lib is required on linux, but was not able to find one for MacOS on brew (neither unixodbc-dev or unixodbc-devel are available).

Hence, I installed unixODBC again from source as described here. After that, the exasol R package can be installed succesfully 🚀🚀🚀

However, now a new problem arises: A lib is not found, though the path seems correct. 💀💀💀

> con <- exasol::dbConnect(drv="exa", dsn="EXASolution Driver", uid="xxx", pwd="xxx")  
...
1: In odbcDriverConnect(con_str) :
  [RODBC] ERROR: state 01000, code 0, message [unixODBC][Driver Manager]Can't open lib '/Users/markheckmann/Library/ODBC/EXASolution ODBC.bundle/Contents/MacOS/libexaodbc-io418sys.dylib' : file not found
...

However, the file exists:

markheckmann~$ls "/Users/markheckmann/Library/ODBC/EXASolution ODBC.bundle/Contents/MacOS" | grep libexaodbc-io418sys.dylib
libexaodbc-io418sys.dylib

Any ideas?

from r-exasol.

tkilias avatar tkilias commented on August 16, 2024

Hi @markheckmann ,

Good to here, that you could solve the header issue. Maybe the header files are not included in newer brew packages.

Regarding your new issue. I see one thing, that might cause an issue. Your path contains a space, this is often a cause for such issues. However, this is only a guess.

Another thing you could check is the permissions of the file with:

ls -l /Users/markheckmann/Library/ODBC/EXASolution ODBC.bundle/Contents/MacOS/libexaodbc-io352fw.dylib

from r-exasol.

tkilias avatar tkilias commented on August 16, 2024

Hi @markheckmann,

Do you further help, or can I close this issue?

from r-exasol.

markheckmann avatar markheckmann commented on August 16, 2024

I have not solved it yet. Also, I am currently on vacation. I would be glad if the issue could remain open for 2 more weeks until I can get back to it. Thanks! :)

from r-exasol.

tkilias avatar tkilias commented on August 16, 2024

I will leave it open, until you are back.

from r-exasol.

tkilias avatar tkilias commented on August 16, 2024

Hello @markheckmann,

Any updates on this topic, or can we close this ticket?

from r-exasol.

Majid-Eismann avatar Majid-Eismann commented on August 16, 2024

@tkilias ; I have the same issue using a docker container rocker/rstudio arm64 (Ubuntu) with the latest Exasol Driver (EXASOL_ODBC-7.1.22):

Error in odbcGetInfo(con) : argument is not an open RODBC channel
In addition: Warning messages:
1: In odbcDriverConnect(con_str) :
[RODBC] ERROR: state 01000, code 0, message [unixODBC][Driver Manager]Can't open lib 'EXASolution Driver' : file not found
2: In odbcDriverConnect(con_str) : ODBC connection failed

running

DBI::dbConnect(
  "exa",
  exahost    = "xxx",
  uid        = "xxx",
  pwd        = "xxx",
  encryption = "Y"
)

Error in odbcGetInfo(con) : argument is not an open RODBC channel
In addition: Warning messages:
1: In odbcDriverConnect(con_str) :
[RODBC] ERROR: state 01000, code 0, message [unixODBC][Driver Manager]Can't open lib '/EXASolution_ODBC-7.1.22/lib/linux/x86_64/libexaodbc-uo2214lv2.so' : file not found
2: In odbcDriverConnect(con_str) : ODBC connection failed

running

DBI::dbConnect(drv = "exa", dsn ="exasolution-uo2214lv2_64", encryption = "Y")

Permissions seems to be correct:

ls -l /EXASolution_ODBC-7.1.22/lib/darwin/x86_64/libexaodbc-io352fw.dylib

-rwxr-xr-x 1 10448 users 507380 Jul 22 06:53 /EXASolution_ODBC-7.1.22/lib/darwin/x86_64/libexaodbc-io352fw.dylib

I would appreciate your help!

from r-exasol.

tkilias avatar tkilias commented on August 16, 2024

@Majid-Eismann this looks like a different issue, can you open an issue and copy your issue there?

from r-exasol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.