Skip to content

Conversation

@detule
Copy link
Collaborator

@detule detule commented May 31, 2025

Fixes #919

Tested by:

  • Reviewed output of locate_install_unixodbc (on a mac) when both static and dynamically built unixodbc libraries were present, versus when only static were found.
  • Ran new unit test on a mac.

There is an argument perhaps that we should just revert aba5578 since it didn't fix the CRAN issue and it's potentially causing issues for regular users. I would rather try and understand when we can expect good behavior when linking against the static lib (are issues driver specific, with some OEM drivers behaving better when linking against the static lib versus others?). I don't feel strongly about this though, and can go either way.

@detule detule force-pushed the fixup/libsearch branch from 94a7efe to e7202c5 Compare May 31, 2025 17:45
@detule detule force-pushed the fixup/libsearch branch from e7202c5 to 04b6746 Compare May 31, 2025 17:47
@detule detule requested a review from simonpcouch May 31, 2025 17:48
Copy link
Collaborator

@simonpcouch simonpcouch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rather try and understand when we can expect good behavior when linking against the static lib

I think this is reasonable!

@detule
Copy link
Collaborator Author

detule commented Jun 29, 2025

Thanks @simonpcouch

Removed test. Let me know if anything else looks suss.

Copy link
Collaborator

@simonpcouch simonpcouch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀🚀🚀

@simonpcouch
Copy link
Collaborator

Going to go ahead and merge so this is resolved on main!

@simonpcouch simonpcouch merged commit 8cf84bd into r-dbi:main Aug 14, 2025
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ODBC 1.6.1 incorrectly overwrites a line within simba.sparkodbc.ini with 'libodbcinst.a'

2 participants