fgerlits commented on a change in pull request #1004:
URL: https://github.com/apache/nifi-minifi-cpp/pull/1004#discussion_r603881995
##########
File path: .github/workflows/ci.yml
##########
@@ -132,12 +142,13 @@ jobs:
run: |
sudo apt-add-repository -y "ppa:ubuntu-toolchain-r/test"
sudo apt update
- sudo apt install -y gcc-4.8 g++-4.8 bison flex uuid-dev openssl
libcurl4-openssl-dev ccache libpython3-dev liblua5.1-0-dev libssh2-1-dev
+ sudo apt install -y gcc-4.8 g++-4.8 bison flex uuid-dev openssl
libcurl4-openssl-dev ccache libpython3-dev liblua5.1-0-dev libssh2-1-dev
libsqliteodbc
+ sudo ln -s /usr/lib/x86_64-linux-gnu/odbc/libsqlite3odbc.so
/usr/lib/x86_64-linux-gnu/libsqlite3odbc.so
Review comment:
The binary does not work on my Ubuntu 18.04 without the symlink. With
the symlink, it works fine.
My `/etc/odbcinst.ini` file was created by `sudo apt install libsqliteodbc`,
and it looks like this:
```
[SQLite]
Description=SQLite ODBC Driver
Driver=libsqliteodbc.so
Setup=libsqliteodbc.so
UsageCount=1
[SQLite3]
Description=SQLite3 ODBC Driver
Driver=libsqlite3odbc.so
Setup=libsqlite3odbc.so
UsageCount=1
```
and my connection string is `Driver=SQLite3;Database=/tmp/my_database.db`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]