镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

libfreetds.a not built for OS X anymore #32

Open

Description

@drd27

Hi Martin

Your SQLClient wrapper has been very useful so far. Thanks!

I know it is "for iOS" but until libfreetds.a was updated a month ago, things built fine on OS X.

However now: "URGENT: building for OSX, but linking in object file libfreetds.a(dblib.o) built for iOS. Note: This will be an error in the future."

Earlier you indicated you built freetds using a build.sh here: https://github.com/patchhf/FreeTDS-iOS

But that repo is gone (and ... for iOS).

Do you have a libfreetds.a build for OS X?

Dennis

Activity

  1. changed the title [-]libfreetds.a not build for OS X anymore[/-] [+]libfreetds.a not built for OS X anymore[/+] on Oct 22, 2016
  2. martinrybak commented on Oct 22, 2016

    @martinrybak
    Owner

    I have a fork at https://github.com/martinrybak/FreeTDS-iOS. Can you submit a PR for updating it for OS X?

  3. drd27 commented on Oct 25, 2016

    @drd27
    Author

    Hi Martin

    I have a fork at https://github.com/martinrybak/FreeTDS-iOS https://github.com/martinrybak/FreeTDS-iOS. Can you submit a PR for updating it for OS X?

    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

  4. martinrybak commented on Oct 25, 2016

    @martinrybak
    Owner

    That's what the FreeTDS binary is normally called. In SQLClient I simply renamed it to libfreetds. I'll rename it there for consistency.

  5. drd27 commented on Oct 25, 2016

    @drd27
    Author

    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

    On 22 Oct 2016, at 23:08, martinrybak notifications@github.com wrote:

    I have a fork at https://github.com/martinrybak/FreeTDS-iOS https://github.com/martinrybak/FreeTDS-iOS. Can you submit a PR for updating it for OS X?

    —
    You are receiving this because you authored the thread.
    Reply to this email directly, view it on GitHub #32 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/ABOiTPIXb0D7n46xZRfxt_4VBe5D1fvKks5q2ntmgaJpZM4Kd3u2.

  6. drd27 commented on Oct 26, 2016

    @drd27
    Author

    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

    On 25 Oct 2016, at 20:26, martinrybak notifications@github.com wrote:

    That's what the FreeTDS binary is normally called. In SQLClient I simply renamed it to libfreetds. I'll rename it there for consistency.

    —
    You are receiving this because you authored the thread.
    Reply to this email directly, view it on GitHub #32 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/ABOiTCkZJmXXw2CBkrsjAv6IOs6dG4O8ks5q3km-gaJpZM4Kd3u2.

  7. fwaddle commented on Oct 26, 2016

    @fwaddle
    Contributor

    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.

  8. drd27 commented on Oct 29, 2016

    @drd27
    Author

    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

    On 26 Oct 2016, at 23:31, Mof notifications@github.com wrote:

    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.

    —
    You are receiving this because you authored the thread.
    Reply to this email directly, view it on GitHub #32 (comment), or mute the thread https://github.com/notifications/unsubscribe-auth/ABOiTAbc-0hAvKfxMNhP1Ijd-AviejRrks5q38afgaJpZM4Kd3u2.

  9. fwaddle commented on Nov 1, 2016

    @fwaddle
    Contributor

    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.

  10. drd27 commented on Nov 2, 2016

    @drd27
    Author

    Hi @fwaddle many thanks for that! Please see my response here: martinrybak/FreeTDS-iOS#2 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions