You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I finally got that to run, but it builds libsybdb.a. I can see why it does, but I had expected this to build libfreetds.a.
Obviously I am missing something here. Any pointers would be hugely appreciated
Hi Martin
Thanks for clearing that up.
Still no joy in getting freetds to build for OS X, let alone a universal binary as before.
Did fwaddle have anything to offer?
Thanks for your continued interest!
Dennis
Hi Dennis,
The issue is that since Xcode 7 (I think), Apple wants you to build a specific version for OSX whereas you used to be able to use the binary that was built for the simulator - that is no longer allowed. The build script needs to be updated to handle that.
Spent two hours trying to patch lib_build.sh with what seems needed from the openSSL macosx example script... and failed.
My experience with this amounts to zero, making this quite hard. I am sorry.
Hi Dennis,
The issue is that since Xcode 7 (I think), Apple wants you to build a specific version for OSX whereas you used to be able to use the binary that was built for the simulator - that is no longer allowed. The build script needs to be updated to handle that.
I've had a crack at the build script (see my pull request) but it's not well tested. I ran it here and it seems to work but I don't have much time to plug the lib file into my project and seeing if it's actually correct.
Activity
[-]libfreetds.a not build for OS X anymore[/-][+]libfreetds.a not built for OS X anymore[/+]martinrybak commentedon Oct 22, 2016
I have a fork at https://github.com/martinrybak/FreeTDS-iOS. Can you submit a PR for updating it for OS X?
drd27 commentedon Oct 25, 2016
Hi Martin
I finally got that to run, but it builds libsybdb.a. I can see why it does, but I had expected this to build libfreetds.a.
Obviously I am missing something here. Any pointers would be hugely appreciated
Dennis
martinrybak commentedon Oct 25, 2016
That's what the FreeTDS binary is normally called. In
SQLClientI simply renamed it tolibfreetds. I'll rename it there for consistency.drd27 commentedon Oct 25, 2016
Hi Martin
Thanks for responding to my GH issue ;-)
I wish I could submit a pull request, but whatever I try I cannot get freetds to compile on osx ;-(
Dennis
drd27 commentedon Oct 26, 2016
Hi Martin
Thanks for clearing that up.
Still no joy in getting freetds to build for OS X, let alone a universal binary as before.
Did fwaddle have anything to offer?
Thanks for your continued interest!
Dennis
fwaddle commentedon Oct 26, 2016
Hi Dennis,
The issue is that since Xcode 7 (I think), Apple wants you to build a specific version for OSX whereas you used to be able to use the binary that was built for the simulator - that is no longer allowed. The build script needs to be updated to handle that.
Fwaddle.
drd27 commentedon Oct 29, 2016
Hi Martin / Fwaddle
Spent two hours trying to patch lib_build.sh with what seems needed from the openSSL macosx example script... and failed.
My experience with this amounts to zero, making this quite hard. I am sorry.
Dennis
fwaddle commentedon Nov 1, 2016
Hi Dennis,
I've had a crack at the build script (see my pull request) but it's not well tested. I ran it here and it seems to work but I don't have much time to plug the lib file into my project and seeing if it's actually correct.
drd27 commentedon Nov 2, 2016
Hi @fwaddle many thanks for that! Please see my response here: martinrybak/FreeTDS-iOS#2 (comment)