Comments (5)
Update: I now notice that the headers installed in /usr/local/iODBC/include/ does not use the indirection via iODBC
(but still use the "system-brackets", which seems fishy unless it is intentional that /usr/local/iODBC/include/sqlext.h
should be able to include some other "system version" of sql.h
than the one in /usr/local/iODBC/include/
).
from iodbc.
(I looked for details about how to use the headers in Developing ODBC Compliant Applications but it does not provide any such details and seems quite dated.)
from iodbc.
I will have a look and report back to you...
from iodbc.
The workaround we used before to be able to use cc ... -I /Library/Frameworks/iODBC.framework/Versions/3.52/Headers
was to do the following after installation:
cd /Library/Frameworks/iODBC.framework/Versions/3.52/Headers && sudo ln -s . iODBC
i.e. create a symbolic link so iODBC/*.h
can be found.
I think we could also use cc ... -I/usr/local/iODBC/include
since those headers does not try to use a iODBC
directory.
from iodbc.
This is more or less a duplicate of issue #17. As a result of that the /usr/local/iODBC/include
files have been fixed (to avoid iODBC
), so they can be used which makes them the proper include files for a UNIX-style build on macOS.
(Some documentation on how to build against the installed iODBC on macOS would be nice, though).
from iodbc.
Related Issues (20)
- Build fails with LTO HOT 3
- Getting error when adding DSN for MongoDB in MS Excel HOT 5
- iODBC on AIX HOT 1
- Silent truncation of 'long' diagnostic messages in SQLGetDiagRec HOT 2
- Crash in SQLBindParameter when driver manager tracing is enabled & a bind offset is in use
- iODBC loses any diagnostics posted during SQLDriverConnect(W)
- why 'php' is loading libiodbc.so.2 ? HOT 4
- calls to SQLBindParameter causes libiodbc to return `SQL_INVALID_HANDLE` on Big Sur HOT 8
- Unable to connect to SQLite using SQLiteODBC on MacBook Air M1 HOT 24
- Comparison with unixODBC? HOT 1
- Please add cmake based build script HOT 3
- SQLGetData doesn't support SQL_ARD_TYPE HOT 3
- Ugly symlinks installed by macOS installer (//Library/...)
- iODBC on redhat entreprise 8 HOT 5
- Question: how to connect Debian 12 with iODBC to Azuresql HOT 6
- Deadlock during SQLDriverConnect() HOT 1
- Unable to connect between Office 365 Excel and Mysql database HOT 30
- Buffer that is passed to SQLDrivers did not contain a terminating zero but should according to the ODBC standard
- -- please delete --
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 iodbc.