Comments (14)
Ah, there was a config option for 10.11 missing from the mac/Makefile. Please pull the latest fix which should resolve your build problem.
from iodbc.
I fixed some problems when trying to compile iODBC using the latest XCode package on Mac OS X 10.8.
Please checkout the latest develop branch of iODBC.
note that you need to have autoconf/automake/libtool which are not shipped anymore with recent versions of Xcode. I suggest you install them using homebrew, fink or macports.
from iodbc.
Brilliant! thank you for the answer. Installing Homebrew now and trying again. I will get back to this thread with results.
from iodbc.
I can run on OSX 10.6 with the dmg build on the web site, pyodbc (sudo pip install http://river.styx.org/ww/2010/10/pyodbc-spasql/pyodbc-virtuoso-2.1.9-beta14.tar.gz), and the Virtuoso 0.12.6 plug-in (https://pypi.python.org/pypi/virtuoso) for Python.
When I run on 10.8, a simple pyodbc connect crashes in libiodbc.2.dylib SQLFreeStmt + 76. I removed iODBC from my previous dmg install, and I built iODBC according to the suggestion above. iodbctest still works, but the pyodbc connect crashes here, seemingly in the same spot:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 org.iodbc.core 0x00000001020f0f7c SQLFreeStmt + 76
1 pyodbc.so 0x0000000101de9806 GetConnectionInfo(object, Connection_) + 668
I have tried a newer version of pyodbc than the Virtuoso plug-in requires as well, but the same crash occurs.
PS: I would like to use the Virtuoso plug-in with a newer version of pyodbc anyway, if possible.
Addendum: Today I rebuilt pyodbc 3.07 and pointed to the proper iODBC include and lib. The notes in the setup.py says Apple is no longer maintaining iODBC in 10.8. Anyway, I traced a working and nonworking connect session and found that the SQLDriverConnectW entry does and does not print out the connect string, respectively. The python test code is the very same, and in OSX 10.8 pyodbc is not getting the connect string to iODBC. With iodbctest, it is normal. My next difficult step is to turn on debug in C++ and python. It doesn't make sense that what is working in 10.6 in a basic library is broken after upgrading to 10.8.
Solutions? Suggestions?
from iodbc.
Would you please update iODBC so that it will also install on OS X 10.9.1 without the same error as above, or comment on installation on Mavericks? Thank you. I got the errors below after brew installing the three packages mentioned.
aireydcmbp:mac aireydc$ make
sh framework-include.sh
Building on Mac OS X 10.9.1
Projbuild is []
cd iODBCinst; build
/bin/sh: build: command not found
make: *** [all] Error 127
from iodbc.
I wish I had a solution for you, but I gave up trying to build iODBC with OS X 10.8, and started using rdflib (with Python) with SPARQL endpoints from then on and now.
On Feb 1, 2014, at 4:50 PM, David Airey [email protected] wrote:
Would you please update iODBC so that it will also install on OS X 10.9.1 without the same error as above, or comment on installation on Mavericks? Thank you. I got the errors below after brew installing the three packages mentioned.
aireydcmbp:mac aireydc$ make
sh framework-include.sh
Building on Mac OS X 10.9.1
Projbuild is []
cd iODBCinst; build
/bin/sh: build: command not found
make: *** [all] Error 127—
Reply to this email directly or view it on GitHub.
Richard Spencer
[email protected]
from iodbc.
3 months ago, one from the hosting company said it was alive and well in response to someone complaining about iODBC and R not working together. Perhaps iODBC is not well supported?
Thanks.
On Feb 1, 2014, at 5:58 PM, Spacetracker [email protected] wrote:
I wish I had a solution for you, but I gave up trying to build iODBC with OS X 10.8, and started using rdflib (with Python) with SPARQL endpoints from then on and now.
On Feb 1, 2014, at 4:50 PM, David Airey [email protected] wrote:
Would you please update iODBC so that it will also install on OS X 10.9.1 without the same error as above, or comment on installation on Mavericks? Thank you. I got the errors below after brew installing the three packages mentioned.
aireydcmbp:mac aireydc$ make
sh framework-include.sh
Building on Mac OS X 10.9.1
Projbuild is []
cd iODBCinst; build
/bin/sh: build: command not found
make: *** [all] Error 127—
Reply to this email directly or view it on GitHub.Richard Spencer
[email protected]
—
Reply to this email directly or view it on GitHub.
from iodbc.
Here is the scoop:
https://stat.ethz.ch/pipermail/r-sig-mac/2013-October/010435.html
-Dave
On Feb 1, 2014, at 5:58 PM, Spacetracker [email protected] wrote:
I wish I had a solution for you, but I gave up trying to build iODBC with OS X 10.8, and started using rdflib (with Python) with SPARQL endpoints from then on and now.
On Feb 1, 2014, at 4:50 PM, David Airey [email protected] wrote:
Would you please update iODBC so that it will also install on OS X 10.9.1 without the same error as above, or comment on installation on Mavericks? Thank you. I got the errors below after brew installing the three packages mentioned.
aireydcmbp:mac aireydc$ make
sh framework-include.sh
Building on Mac OS X 10.9.1
Projbuild is []
cd iODBCinst; build
/bin/sh: build: command not found
make: *** [all] Error 127—
Reply to this email directly or view it on GitHub.Richard Spencer
[email protected]
—
Reply to this email directly or view it on GitHub.
from iodbc.
Two years later, and the Mac directory doesn't build when following the directions https://github.com/openlink/iODBC/blob/develop/README.MACOSX.
Method 2, does seem to work, but does not build/install any of the applications.
from iodbc.
Thanks for reporting. I fixed the problem on the latest develop branch. Please try Method 1 again.
from iodbc.
Thanks for the quick response! Sadly, that doesn't work for me:
17:39 $ git clone https://github.com/openlink/iODBC.git
Cloning into 'iODBC'...
remote: Counting objects: 7798, done.
remote: Compressing objects: 100% (45/45), done.
remote: Total 7798 (delta 23), reused 0 (delta 0), pack-reused 7739
Receiving objects: 100% (7798/7798), 3.30 MiB | 1.03 MiB/s, done.
Resolving deltas: 100% (6183/6183), done.
Checking connectivity... done.
17:40 $ cd iODBC
17:40 $ cd mac/
17:40 $ make
sh framework-include.sh
Building on Mac OS X 10.11
Projbuild is []
cd iODBCinst; build
/bin/sh: build: command not found
make: *** [all] Error 127
✘-2 ~/Downloads/iodbc/iODBC/mac [develop|
17:40 $ git log -1
commit b8ede3c
Author: iODBC Maintainer [email protected]
Date: Thu Mar 10 15:44:41 2016 +0100
Fixed issue with Xcode on Mac OS X 10.10 Xcode 7.2.1
The Xcode tools are installed. I have Xcode 7.2.1, and the tools are installed.
17:41 $ xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" to install updates
✘-1 ~/Downloads/iodbc/iODBC/mac [develop|
from iodbc.
This now works, so I can build it! This issue can be closed :-)
from iodbc.
For macOS sierra (10.12), a similar addition to mac/GNUMakefile
appears to make it work (tested using the psqlODBC driver; PostgreSQL lets me interact with it remotely, via the iODBC demo app).
When running make, I have deliberately ignored the effect of FixupResourceForks seemingly gone in this edition of the OS.
make: /System/Library/CoreServices/FixupResourceForks: No such file or directory
from iodbc.
Thank you for the patch. Worked perfectly for macOS 10.12.6 with Xcode 9 beta 6 installed.
from iodbc.
Related Issues (20)
- Seg Fault crash on macOS Big Sur when entering key/value pairs HOT 3
- autogen.sh uses incorrect test to determine if a tool is installed HOT 3
- Debugging Help Excel on Macos HOT 5
- 3.52.15 mangles input parameter data when using parameter arrays HOT 6
- 3.52.15 incorrectly overriding SQL_DEFAULT_PARAM length indicator
- 3.52.15 DM truncating SQL_C_WCHAR parameter value when bound w/ BufferLength=0 & length indicator of SQL_NTS HOT 10
- DM returns '[iODBC][Driver Manager]Memory allocation error' if SQLDescribeCol is called w/ BufferLength=0 on a unicode driver HOT 3
- iODBC-SDK-3.52.15-macOS10 installer not working on macOS 12 HOT 6
- Memory leak if too many diagnostics are returned HOT 1
- Info.c:740: possible missing comma ?
- reserved identifier violation
- Completion of error handling
- Remove unnecessary null pointer checks
- 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
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.