Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TOra crashes on MacOS 10.14 (version 3.0.0 beta) #137

Open
cbertelli opened this issue Oct 5, 2019 · 1 comment
Open

TOra crashes on MacOS 10.14 (version 3.0.0 beta) #137

cbertelli opened this issue Oct 5, 2019 · 1 comment

Comments

@cbertelli
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant