tora icon indicating copy to clipboard operation
tora copied to clipboard

TOra crashes on MacOS 10.14 (version 3.0.0 beta)

Open cbertelli opened this issue 6 years ago • 1 comments

This is the output:

ERROR:Overwrite description of nonmodified (toQSqlConnection:Version)
---- main.cpp:213	int main(int, char **)----
Failed loading plugin parsing
---- main.cpp:225	int main(int, char **)----
Looking for client: Oracle (Instant Client)
 searching: /Applications/TOra.app/Contents
 searching: /opt/instantclient_11_2
 searching: /Applications/TOra.app/Contents/PlugIns
---- utils.cpp:872	static bool Utils::toLibrary::isValidLibrary(QFileInfo)----
Validating:/Applications/TOra.app/Contents/PlugIns/libclntsh.dylib
 dlopen_preflight:/Applications/TOra.app/Contents/PlugIns/libclntsh.dylib OK
 adding: /Applications/TOra.app/Contents/PlugIns/libclntsh.dylib:
---- utils.cpp:872	static bool Utils::toLibrary::isValidLibrary(QFileInfo)----
Validating:/Applications/TOra.app/Contents/PlugIns/libclntsh.dylib.11.1
 dlopen_preflight:/Applications/TOra.app/Contents/PlugIns/libclntsh.dylib.11.1 OK
 adding: /Applications/TOra.app/Contents/PlugIns/libclntsh.dylib.11.1:
---- main.cpp:225	int main(int, char **)----
Looking for client: Oracle (TNS)
---- main.cpp:225	int main(int, char **)----
Looking for client: QSQL
 QT supported driver:'QSQLITE'
 QT supported driver:'QMYSQL'
 QT supported driver:'QMYSQL3'
 QT supported driver:'QODBC'
 QT supported driver:'QODBC3'
 QT supported driver:'QPSQL'
 QT supported driver:'QPSQL7'
 Tora supports:'QMYSQL'
 Tora Supports:'QPSQL'
 Tora Supports:'QODBC'
---- main.cpp:225	int main(int, char **)----
Looking for client: Teradata
 export ORACLE_HOME=/Applications/TOra.app/Contents/PlugIns
 export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
 mkdir -p /Users/carlo/lib
 Loading: libporacle.so
 From: /Applications/TOra.app/Contents/PlugIns
  OK
Segmentation fault: 11

cbertelli avatar Oct 05 '19 20:10 cbertelli

I linked the libraries inside the real and working oracle instantclient libraries and it didn't chrash anymore. In my case I had instantclient libraries here /usr/local/opt/osgeo-oracle-client-sdk/lib so I moved the original into a subdirectory (PlugIns/original_client) and I linked the relevant libraries. It worked.

cbertelli avatar Oct 17 '19 11:10 cbertelli