-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't install luasql-odbc with luarocks on debian 10/11 #129
Comments
Compilation fails because UNIXODBC is not defined. I don't know the correct way to solve this problem. To work around the problem, I use the following command to install luasql-odbc: |
Hi laigor
This flag resolves the library against which the driver will be
compiled. Note the code at the beginning of src/ls_odbc.c
#if defined(_WIN32)
#include <windows.h>
#include <sqlext.h>
#elif defined(INFORMIX)
#include "infxcli.h"
#elif defined(UNIXODBC)
#include "sql.h"
#include "sqltypes.h"
#include "sqlext.h"
#endif
Thus, if you have an unixodbc installation, that workaround should
work, I think.
Regards,
Tomás
Em dom., 26 de set. de 2021 às 11:23, laigor
***@***.***> escreveu:
…
Compilation fails because UNIXODBC is not defined. I don't know the correct way to solve this problem. To work around the problem, I use the following command to install luasql-odbc:
luarocks CFLAGS="-DUNIXODBC" install luasql-odbc
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Am I the only one who installs luasql-odbc in linux via luarocks? UNIXODBC should be detected automatically, or at least the documentation should indicate how to properly install luasql-odbc in Linux. |
Hi
I don't know if you are the only user of luasql-odbc, sorry. Personally I
use Postgres, and have almost no feedback from users.
Regards,
Tomás
Em ter., 28 de set. de 2021 às 07:11, laigor ***@***.***>
escreveu:
… Am I the only one who installs luasql-odbc in linux via luarocks? UNIXODBC
should be detected automatically, or at least the documentation should
indicate how to properly install luasql-odbc in Linux.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#129 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABAB3MMWT4V2CH2DLI3DD3UEGID5ANCNFSM5ETGKMYQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Same issue #131 |
No, you are not :-). I encountered the same issues you addressed with this issue today.
This this was fixed meanwhile, but unfortunately there is no new version available on |
I've managed to install it by patching file manually
and thats it. ps.: It still throws some warnings
|
installed :
The text was updated successfully, but these errors were encountered: