Comments (9)
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.
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.
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.
Hi @markheckmann,
Do you further help, or can I close this issue?
from r-exasol.
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.
I will leave it open, until you are back.
from r-exasol.
Hello @markheckmann,
Any updates on this topic, or can we close this ticket?
from r-exasol.
@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.
@Majid-Eismann this looks like a different issue, can you open an issue and copy your issue there?
from r-exasol.
Related Issues (20)
- Can't install - OpenSSL already installed HOT 7
- Update ODBC Driver documentation
- Package cannot be installed anymore after latest update HOT 2
- Comment password encoding limitations HOT 3
- Add job name to .github/workflows/cpp_test.yml HOT 2
- Add job name to remaining GH workflows
- Failed to install 'exasol' from GitHub HOT 3
- Fix nightly builds
- Linker error on windows with R4.2 HOT 1
- Prepare release 7.1.0
- Fix release_droid job
- UpdateDockerImages Github Workflow fails because devtools can't be installed
- dbConnect() no longer works after update to R 4.2.1 on Windows HOT 2
- UpdateDockerImages job stopped working
- R version 4,2 (April 2022!) is.na() robustness check of multiple elements causing issues in exa.writeData() HOT 1
- Update ODBC driver source for integration test
- Adjustments for OpenSSL 3.0.0
- Github actions are broken
- Scheduled GitHub Action "UpdateDockerImages" fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from r-exasol.