firebird
firebird copied to clipboard
Firebird Embedded: intl subdirectory is ignored on Linux
In LibreOffice, Firebird Embedded is built using this sequence (simplified; the script is here):
./configure --without-editline --with-wire-compress=no --enable-shared --disable-static
make
The resulting DLLs (libfbclient.so
, libEngine12.so
, and the directory intl
with libfbintl.so
and fbintl.conf
) are put into LibreOffice install directory (configurable). Same on Windows, except file names are respectively different (ifbclient.dll
, Engine12.dll
, intl/fbintl.dll
, intl/fbintl.conf
).
This works, except this problem: on Linux, executing CREATE TABLE mytable (c char(2) character set WIN1252)
fails with
*unsuccessful metadata update *EXT_LOG *CHARACTER SET WIN1252 is not installed caused by 'CREATE TABLE mytable (c char(2) character set WIN1252)'
Firebird looks up its intl
directory under /usr/local/firebird
, not in the subdirectory where the main DLLs are located. Note that the same configuration works on Windows, and the DLLs directory is searched first when looking for intl
.
What is our mistake? What needs to be specified or configured or moved or ... to let Linux build find its intl
data?
Thank you!