ODBC Driver not found “File not found error” The Next CEO of Stack OverflowHow to list the tables in a SQLite database file that was opened with ATTACH?Creating a custom ODBC driverSetting correct apache environment for Pervasive v10 ODBC client Centos 6.2better understand ODBC ODBC DriverODBC Driver Manager errorunable to start Alfresco 3.4.4 (Error while starting postgresql)How to register ODBC driver?ODBC Driver Manager not found .. Connect MSAccess with Java?Postgresql odbc driver error c# [IM002] [Microsoft][ODBC Driver Manager] Data source name not foundODBC drivers not found
What steps are necessary to read a Modern SSD in Medieval Europe?
Is a distribution that is normal, but highly skewed, considered Gaussian?
Strange use of "whether ... than ..." in official text
How do I keep Mac Emacs from trapping M-`?
Find the majority element, which appears more than half the time
Does int main() need a declaration on C++?
What difference does it make matching a word with/without a trailing whitespace?
Create custom note boxes
logical reads on global temp table, but not on session-level temp table
How can I prove that a state of equilibrium is unstable?
Why can't we say "I have been having a dog"?
How exploitable/balanced is this homebrew spell: Spell Permanency?
Another proof that dividing by 0 does not exist -- is it right?
Compensation for working overtime on Saturdays
How can I replace x-axis labels with pre-determined symbols?
Why do we say “un seul M” and not “une seule M” even though M is a “consonne”?
How badly should I try to prevent a user from XSSing themselves?
Can Sri Krishna be called 'a person'?
Masking layers by a vector polygon layer in QGIS
How do I secure a TV wall mount?
Why doesn't Shulchan Aruch include the laws of destroying fruit trees?
What is the difference between 'contrib' and 'non-free' packages repositories?
Can this transistor (2n2222) take 6V on emitter-base? Am I reading datasheet incorrectly?
Direct Implications Between USA and UK in Event of No-Deal Brexit
ODBC Driver not found “File not found error”
The Next CEO of Stack OverflowHow to list the tables in a SQLite database file that was opened with ATTACH?Creating a custom ODBC driverSetting correct apache environment for Pervasive v10 ODBC client Centos 6.2better understand ODBC ODBC DriverODBC Driver Manager errorunable to start Alfresco 3.4.4 (Error while starting postgresql)How to register ODBC driver?ODBC Driver Manager not found .. Connect MSAccess with Java?Postgresql odbc driver error c# [IM002] [Microsoft][ODBC Driver Manager] Data source name not foundODBC drivers not found
I am trying to connect to the database but getting error file not found
, the same error is with isql
. I know the file is there with correct permission.
$ isql -v ClickHouse
[01000][unixODBC][Driver Manager]Can't open lib '/usr/lib64/libclickhouseodbc.so' : file not found
[ISQL]ERROR: Could not SQLConnect
$ ls -lrt /usr/lib64/libclickhouseodbc.so
-rwxr-xr-x 1 root root 33920808 Mar 7 14:32 /usr/lib64/libclickhouseodbc.so
$ ldd /usr/lib64/libclickhouseodbc.so
linux-vdso.so.1 => (0x00007fffbf36d000)
libodbc.so.2 => /usr/lib64/libodbc.so.2 (0x00007f2366d2f000)
libm.so.6 => /usr/lib64/libm.so.6 (0x00007f2366a2c000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007f236665f000)
/lib64/ld-linux-x86-64.so.2 (0x0000558044ea1000)
libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f2366455000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007f2366250000)
libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007f2366034000)
$ which isql | xargs file
/bin/isql: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=dacf3a0f9b65968e63f2ca5b0f79b522f5d7e567, stripped
$ which isql | xargs ldd
linux-vdso.so.1 => (0x00007ffd45fef000)
libodbc.so.2 => /usr/lib64/libodbc.so.2 (0x00007fe706ad3000)
libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007fe7068c8000)
libreadline.so.6 => /usr/lib64/libreadline.so.6 (0x00007fe706682000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007fe70647e000)
libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007fe706261000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007fe705e94000)
libtinfo.so.5 => /usr/lib64/libtinfo.so.5 (0x00007fe705c6a000)
/lib64/ld-linux-x86-64.so.2 (0x00005638f62f2000)
$ file /usr/lib64/libclickhouseodbc.so
/usr/lib64/libclickhouseodbc.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=aac633748dcbd6d9bf228372c6dbc524e751c4d0, not stripped
database odbc clickhouse
add a comment |
I am trying to connect to the database but getting error file not found
, the same error is with isql
. I know the file is there with correct permission.
$ isql -v ClickHouse
[01000][unixODBC][Driver Manager]Can't open lib '/usr/lib64/libclickhouseodbc.so' : file not found
[ISQL]ERROR: Could not SQLConnect
$ ls -lrt /usr/lib64/libclickhouseodbc.so
-rwxr-xr-x 1 root root 33920808 Mar 7 14:32 /usr/lib64/libclickhouseodbc.so
$ ldd /usr/lib64/libclickhouseodbc.so
linux-vdso.so.1 => (0x00007fffbf36d000)
libodbc.so.2 => /usr/lib64/libodbc.so.2 (0x00007f2366d2f000)
libm.so.6 => /usr/lib64/libm.so.6 (0x00007f2366a2c000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007f236665f000)
/lib64/ld-linux-x86-64.so.2 (0x0000558044ea1000)
libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f2366455000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007f2366250000)
libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007f2366034000)
$ which isql | xargs file
/bin/isql: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=dacf3a0f9b65968e63f2ca5b0f79b522f5d7e567, stripped
$ which isql | xargs ldd
linux-vdso.so.1 => (0x00007ffd45fef000)
libodbc.so.2 => /usr/lib64/libodbc.so.2 (0x00007fe706ad3000)
libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007fe7068c8000)
libreadline.so.6 => /usr/lib64/libreadline.so.6 (0x00007fe706682000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007fe70647e000)
libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007fe706261000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007fe705e94000)
libtinfo.so.5 => /usr/lib64/libtinfo.so.5 (0x00007fe705c6a000)
/lib64/ld-linux-x86-64.so.2 (0x00005638f62f2000)
$ file /usr/lib64/libclickhouseodbc.so
/usr/lib64/libclickhouseodbc.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=aac633748dcbd6d9bf228372c6dbc524e751c4d0, not stripped
database odbc clickhouse
I have removed the tag c since this question doesn't appear to be about C.
– Govind Parmar
Mar 7 at 19:49
Is everything in this stack 64-bit? Sometimes bitness mismatches result in a misleading "file not found" error. Checkfile /usr/lib64/libclickhouseodbc
,which isql | xargs file
,which isql | xargs ldd
.
– TallTed
Mar 7 at 20:09
@TallTed I have pasted the information but all are 64bits.
– Ibrar Ahmed
Mar 7 at 20:24
What OS? Where did you get libclickhouseodbc? Download somewhere / build by your own?
– filimonov
Mar 11 at 21:02
I bet something is wrong with build, i see it's dynamically linked, while original build creates statically linked library. So may be it was linked on another machine with another version of libs?
– filimonov
Mar 14 at 16:14
add a comment |
I am trying to connect to the database but getting error file not found
, the same error is with isql
. I know the file is there with correct permission.
$ isql -v ClickHouse
[01000][unixODBC][Driver Manager]Can't open lib '/usr/lib64/libclickhouseodbc.so' : file not found
[ISQL]ERROR: Could not SQLConnect
$ ls -lrt /usr/lib64/libclickhouseodbc.so
-rwxr-xr-x 1 root root 33920808 Mar 7 14:32 /usr/lib64/libclickhouseodbc.so
$ ldd /usr/lib64/libclickhouseodbc.so
linux-vdso.so.1 => (0x00007fffbf36d000)
libodbc.so.2 => /usr/lib64/libodbc.so.2 (0x00007f2366d2f000)
libm.so.6 => /usr/lib64/libm.so.6 (0x00007f2366a2c000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007f236665f000)
/lib64/ld-linux-x86-64.so.2 (0x0000558044ea1000)
libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f2366455000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007f2366250000)
libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007f2366034000)
$ which isql | xargs file
/bin/isql: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=dacf3a0f9b65968e63f2ca5b0f79b522f5d7e567, stripped
$ which isql | xargs ldd
linux-vdso.so.1 => (0x00007ffd45fef000)
libodbc.so.2 => /usr/lib64/libodbc.so.2 (0x00007fe706ad3000)
libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007fe7068c8000)
libreadline.so.6 => /usr/lib64/libreadline.so.6 (0x00007fe706682000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007fe70647e000)
libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007fe706261000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007fe705e94000)
libtinfo.so.5 => /usr/lib64/libtinfo.so.5 (0x00007fe705c6a000)
/lib64/ld-linux-x86-64.so.2 (0x00005638f62f2000)
$ file /usr/lib64/libclickhouseodbc.so
/usr/lib64/libclickhouseodbc.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=aac633748dcbd6d9bf228372c6dbc524e751c4d0, not stripped
database odbc clickhouse
I am trying to connect to the database but getting error file not found
, the same error is with isql
. I know the file is there with correct permission.
$ isql -v ClickHouse
[01000][unixODBC][Driver Manager]Can't open lib '/usr/lib64/libclickhouseodbc.so' : file not found
[ISQL]ERROR: Could not SQLConnect
$ ls -lrt /usr/lib64/libclickhouseodbc.so
-rwxr-xr-x 1 root root 33920808 Mar 7 14:32 /usr/lib64/libclickhouseodbc.so
$ ldd /usr/lib64/libclickhouseodbc.so
linux-vdso.so.1 => (0x00007fffbf36d000)
libodbc.so.2 => /usr/lib64/libodbc.so.2 (0x00007f2366d2f000)
libm.so.6 => /usr/lib64/libm.so.6 (0x00007f2366a2c000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007f236665f000)
/lib64/ld-linux-x86-64.so.2 (0x0000558044ea1000)
libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007f2366455000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007f2366250000)
libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007f2366034000)
$ which isql | xargs file
/bin/isql: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=dacf3a0f9b65968e63f2ca5b0f79b522f5d7e567, stripped
$ which isql | xargs ldd
linux-vdso.so.1 => (0x00007ffd45fef000)
libodbc.so.2 => /usr/lib64/libodbc.so.2 (0x00007fe706ad3000)
libltdl.so.7 => /usr/lib64/libltdl.so.7 (0x00007fe7068c8000)
libreadline.so.6 => /usr/lib64/libreadline.so.6 (0x00007fe706682000)
libdl.so.2 => /usr/lib64/libdl.so.2 (0x00007fe70647e000)
libpthread.so.0 => /usr/lib64/libpthread.so.0 (0x00007fe706261000)
libc.so.6 => /usr/lib64/libc.so.6 (0x00007fe705e94000)
libtinfo.so.5 => /usr/lib64/libtinfo.so.5 (0x00007fe705c6a000)
/lib64/ld-linux-x86-64.so.2 (0x00005638f62f2000)
$ file /usr/lib64/libclickhouseodbc.so
/usr/lib64/libclickhouseodbc.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, BuildID[sha1]=aac633748dcbd6d9bf228372c6dbc524e751c4d0, not stripped
database odbc clickhouse
database odbc clickhouse
edited Mar 8 at 14:31
TallTed
6,79021528
6,79021528
asked Mar 7 at 19:38
Ibrar AhmedIbrar Ahmed
4761724
4761724
I have removed the tag c since this question doesn't appear to be about C.
– Govind Parmar
Mar 7 at 19:49
Is everything in this stack 64-bit? Sometimes bitness mismatches result in a misleading "file not found" error. Checkfile /usr/lib64/libclickhouseodbc
,which isql | xargs file
,which isql | xargs ldd
.
– TallTed
Mar 7 at 20:09
@TallTed I have pasted the information but all are 64bits.
– Ibrar Ahmed
Mar 7 at 20:24
What OS? Where did you get libclickhouseodbc? Download somewhere / build by your own?
– filimonov
Mar 11 at 21:02
I bet something is wrong with build, i see it's dynamically linked, while original build creates statically linked library. So may be it was linked on another machine with another version of libs?
– filimonov
Mar 14 at 16:14
add a comment |
I have removed the tag c since this question doesn't appear to be about C.
– Govind Parmar
Mar 7 at 19:49
Is everything in this stack 64-bit? Sometimes bitness mismatches result in a misleading "file not found" error. Checkfile /usr/lib64/libclickhouseodbc
,which isql | xargs file
,which isql | xargs ldd
.
– TallTed
Mar 7 at 20:09
@TallTed I have pasted the information but all are 64bits.
– Ibrar Ahmed
Mar 7 at 20:24
What OS? Where did you get libclickhouseodbc? Download somewhere / build by your own?
– filimonov
Mar 11 at 21:02
I bet something is wrong with build, i see it's dynamically linked, while original build creates statically linked library. So may be it was linked on another machine with another version of libs?
– filimonov
Mar 14 at 16:14
I have removed the tag c since this question doesn't appear to be about C.
– Govind Parmar
Mar 7 at 19:49
I have removed the tag c since this question doesn't appear to be about C.
– Govind Parmar
Mar 7 at 19:49
Is everything in this stack 64-bit? Sometimes bitness mismatches result in a misleading "file not found" error. Check
file /usr/lib64/libclickhouseodbc
, which isql | xargs file
, which isql | xargs ldd
.– TallTed
Mar 7 at 20:09
Is everything in this stack 64-bit? Sometimes bitness mismatches result in a misleading "file not found" error. Check
file /usr/lib64/libclickhouseodbc
, which isql | xargs file
, which isql | xargs ldd
.– TallTed
Mar 7 at 20:09
@TallTed I have pasted the information but all are 64bits.
– Ibrar Ahmed
Mar 7 at 20:24
@TallTed I have pasted the information but all are 64bits.
– Ibrar Ahmed
Mar 7 at 20:24
What OS? Where did you get libclickhouseodbc? Download somewhere / build by your own?
– filimonov
Mar 11 at 21:02
What OS? Where did you get libclickhouseodbc? Download somewhere / build by your own?
– filimonov
Mar 11 at 21:02
I bet something is wrong with build, i see it's dynamically linked, while original build creates statically linked library. So may be it was linked on another machine with another version of libs?
– filimonov
Mar 14 at 16:14
I bet something is wrong with build, i see it's dynamically linked, while original build creates statically linked library. So may be it was linked on another machine with another version of libs?
– filimonov
Mar 14 at 16:14
add a comment |
0
active
oldest
votes
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55051605%2fodbc-driver-not-found-file-not-found-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55051605%2fodbc-driver-not-found-file-not-found-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I have removed the tag c since this question doesn't appear to be about C.
– Govind Parmar
Mar 7 at 19:49
Is everything in this stack 64-bit? Sometimes bitness mismatches result in a misleading "file not found" error. Check
file /usr/lib64/libclickhouseodbc
,which isql | xargs file
,which isql | xargs ldd
.– TallTed
Mar 7 at 20:09
@TallTed I have pasted the information but all are 64bits.
– Ibrar Ahmed
Mar 7 at 20:24
What OS? Where did you get libclickhouseodbc? Download somewhere / build by your own?
– filimonov
Mar 11 at 21:02
I bet something is wrong with build, i see it's dynamically linked, while original build creates statically linked library. So may be it was linked on another machine with another version of libs?
– filimonov
Mar 14 at 16:14