Under the unicorn system problem recently,
Environment:
1. Kirin system installed in a virtual machine under
2. Kirin system version: Kylin4.0.2
3. The Qt version: 5.15.2
4. To dream database version: v8
5. UnixODBC version: 2.3.9
Qt version compiled output:
Stone @ ~ $qmake - version
QMake version 3.1
Using Qt version 5.15.2 in/opt/Qt/5.15.2 gcc_64/lib
UnixODBC database connection information:
Stone @ ~ $isql dm
+ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +
| Connected! |
| |
| - SQL statement |
| | help [tablename]
| quit |
| |
+ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- +
The environment variable
~/.bashrc
# Qt
Export QTDIR=/opt/Qt/5.15.2
The export PATH=$QTDIR/gcc_64/bin: $PATH
The export PATH=$QTDIR/../Tools/QtCreator/bin: $PATH
Export LD_LIBRARY_PATH=$QTDIR/gcc_64/lib: $LD_LIBRARY_PATH
# DMDB
Export DMDIR=/opt/DMDBMS
The export PATH=$DMDIR/bin: $PATH
Export LD_LIBRARY_PATH=$DMDIR/bin: $LD_LIBRARY_PATH
Odbcinst. Ini configuration
The/etc/unixODBC/odbcinst ini
[DM8]
Description=dm odbc
Driver=/opt/DMDBMS/bin/libdodbc. So
Odbc. Ini configuration
The/etc/unixODBC/odbc.ini
[dm]
Description=dm8 DSN
Driver=DM8
SERVER=127.0.0.1
UID=SYSDBA
The PWD=* * * * * *
TCP_PORT=5236
QT database connection of dream failure information:
[unixODBC] [Driver Manager] Can 't open the lib'/opt/DMDBMS/bin/libdodbc. So ': file not found QODBC3: Unable to connect
Europe is what place? Qt is unable to connect on the dream database,