pharo-rdbms / Pharo-SQLite3

Community-owned official SQLite3 binding for Pharo
MIT License
22 stars 20 forks source link

Prefer LD_LIBRARY_PATH to hardcoded search paths #8

Open PierceNg opened 4 years ago

PierceNg commented 4 years ago

For server-side and also packaged desktop applications, it is preferable to load a known specific libsqlite3.so that has the necessary features compiled in, to using whatever libsqlite3.so the OS happens to supply.

BTW, on Ubuntu 18.04 the system-supplied libsqlite3.so lives in /usr/lib/x86_64-linux-gnu which isn't in the current hardcoded paths.

astares commented 4 years ago

I've added the latest DLL's for Windows from https://www.sqlite.org into

folder, we can do similar for other platforms if required.

astares commented 4 years ago

@PierceNg: new Pharo 9 version provides a library finder

image