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

ODBCLibrary looks for a specific library name (libodbc.so) #9

Open
NicolasAnquetil opened this issue Sep 27, 2023 · 1 comment
Open

Comments

@NicolasAnquetil
Copy link

On my computer (linux) it was named libodbc.so.2
Some initialization is done on loading, I could not load Pharo-ODBC (with Monticello)

I had two solutions:

  • change the name of the library in ODBCLibrary >> default
  • rename the file on my disk

I would have preferred the first one, but to change the code it must be loaded, and the problem appears when loading ...

@astares
Copy link
Contributor

astares commented Dec 3, 2024

@NicolasAnquetil

Maybe we should better use

FFIUnix32LibraryFinder
	^ FFIUnix32LibraryFinder findAnyLibrary: #(
		'libodbc.so'
		'libodbc.so.2')

then

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

No branches or pull requests

2 participants