Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add /usr/lib64 to unix64 search path #113

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robbie01
Copy link

In Fedora (and probably other distributions), 64-bit shared libraries are in /usr/lib64. This change allows SQLite3Library to load the 64-bit shared object on these systems.

@robbie01
Copy link
Author

#8 mentions FFILibraryFinder. Maybe this is worth considering?

SQLite3Library >> unix32LibraryName
  ^ FFIUnix32LibraryFinder findAnyLibrary: #('libsqlite3.so.0' 'libsqlite3.so')
SQLite3Library >> unix64LibraryName
  ^ FFIUnix64LibraryFinder findAnyLibrary: #('libsqlite3.so.0' 'libsqlite3.so')
SQLite3Library >> macLibraryName
  ^ FFIMacLibraryFinder findAnyLibrary: #('libsqlite3.dylib' 'libsqlite3.0.dylib' 'sqlite3/libtclsqlite3.dylib')

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.

1 participant