Re: [OpendTect_Developers] Re: Problem to start opendtect by installation from source. Improved info

46 views
Skip to first unread message

Jb

unread,
Dec 12, 2017, 7:44:31 PM12/12/17
to devel...@opendtect.org

Gents
   It appears that th Qt libraries need to be removed ftom the OpendTect Release/ directorh.

Sent from my Kindle Fire




From: gianluigi caddeo <gianluig...@gmail.com>
Sent: Thu Apr 28 23:51:38 PDT 2016
To: devel...@opendtect.org
Subject: Re: [OpendTect_Developers] Re: Problem to start opendtect by installation from source. Improved info

Hello Raman,
thank you very much,
I just tempted to set LD_LIBRARY_PATH
(but without success) using export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH}

07:30:12 $ export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:${LD_LIBRARY_PATH}
07:30:32 $ pwd
/home/gcaddeo/openDTect/git/installation/bin/lux64
07:30:38 $ cd Debug/
07:30:42 $ ./od_ma
od_madexec  od_main    
07:30:42 $ ./od_main
Segmentation fault (core dumped)
07:30:48 $ cd ../Release/
07:30:57 $ ./od_main
Segmentation fault (core dumped)


I'm using an UBUNTU MACHINE (Linux milcham 3.19.0-58-generic #64~14.04.1-Ubuntu SMP Fri Mar 18 19:05:43 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux) in which I installed qt4 and qt5 packages from apt-get.

this is my dirs tree:
 07:27:51 $ sudo find /usr -name "libQtGui*"
/usr/lib/i386-linux-gnu/libQtGui.so.4.8
/usr/lib/i386-linux-gnu/libQtGui.so.4
/usr/lib/i386-linux-gnu/libQtGui.so.4.8.6
/usr/lib/x86_64-linux-gnu/libQtGui.so.4.8
/usr/lib/x86_64-linux-gnu/libQtGui.so.4
/usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.6
07:27:52 $
07:27:52 $ sudo find /usr -name "libQt5*" | grep Gui
17:/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
25:/usr/lib/x86_64-linux-gnu/libQt5Gui.so
32:/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.2
48:/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.2.1
102:/usr/lib/x86_64-linux-gnu/libQt5Gui.prl

I also used qtchooser tool to switch between libraries, but nothing...
qtchooser --print-env
QT_SELECT="default"
QTTOOLDIR="/usr/lib/x86_64-linux-gnu/qt5/bin"
QTLIBDIR="/usr/lib/x86_64-linux-gnu"


I attach also my cmake configuration for qt (Today I have a doubt for /usr/lib/libosgQt.so and I will re-check it)


Thank you so much
Best regards
G




2016-04-29 5:32 GMT+01:00 Raman Singh <raman...@dgbes.com>:
Hi Gianluigi,

I think that problem is cause by fact that I compiled opendtect with qt5, but, at run, opendtect looks for libQtGui.so.4 instead libQt5Gui,
How to do?  I need to use libQt5 but my efforts did not give results...

In the terminal where you run OpendTect, set the environment variable LD_LIBRARY_PATH to use Qt5 libraries. For example,

setenv LD_LIBRARY_PATH /usr/local/qt5/lib:${LD_LIBRARY_PATH}

I hope this helps.

Regards,

Raman K Singh
Manager Software Development
______________________________

dGB Earth Sciences, India
Phone: +91 22 25704984
Fax: +91 22 25704977
Mobile: +91 98 33452542
E-mail: raman...@dgbes.com
Internet: dgbes.com & opendtect.org
______________________________


On 04/29/2016 03:03 AM, milcham wrote:
Hello,

Maybe I understand what caused the segmentation fault.
I tempted to fix it, but without success.
I think that problem is cause by fact that I compiled opendtect with qt5, but, at run, opendtect looks for libQtGui.so.4 instead libQt5Gui,
How to do?  I need to use libQt5 but my efforts did not give results...

Best regards

Il giorno sabato 16 aprile 2016 17:47:37 UTC+1, milcham ha scritto:
Dear all,
I Installed opendtect by OpendTect_Installer_lux64.sh script and everything goes well.
I performed, also, a second installation by sources that download by from https://github.com/OpendTect/OpendTect.git.
I compiled and installed opendtect in debug mode (CMAKE_BUILD_TYPE=Debug)
My problem is that when I run start_dtect -> /home/opendTect/git/installation/bin/start_dtect* from my command line
I have a segmentation fault:
/start_dtect
Setting up GMT environment ... GMT installation directory not found
Setting up Madagascar environment ... Madagascar installation directory not found
Segmentation fault (core dumped)
I do not know if this could be useful, but If I launch the script in debug mode, (I understand that it is need to set export DTECT_START_DEBUGGER=/usr/bin/gdb, but I'm not sure)
output is:
17:14:09 $ ./start_dtect
Setting up GMT environment ... GMT installation directory not found
Setting up Madagascar environment ... Madagascar installation directory not found
DTECT_HOME: /home/opendTect/git/installation
DTECT_SETTINGS: /home/opendTect/git/installation/.od
Original cmd: /bin/csh /home/opendTect/git/installation/bin/od_exec od_main
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/opendTect/git/installation/bin/lux64/Debug/od_main...done.
(gdb) r
Starting program: /home/opendTect/git/installation/bin/lux64/Debug/od_main
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007fffe77b15cd in ?? () from /home/opendTect/OpendTect_Installer_lux64/bin/lux64/Release/libQtGui.so.4

Did you have some idea about the problem?

Thank you so much
Best regards
G


--
You received this message because you are subscribed to the Google Groups "OpendTect Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to developers+...@opendtect.org.
To post to this group, send email to devel...@opendtect.org.
Visit this group at https://groups.google.com/a/opendtect.org/group/developers/.
To view this discussion on the web visit https://groups.google.com/a/opendtect.org/d/msgid/developers/f96ee4c5-8b22-441b-aeee-5376249c37a1%40opendtect.org.
For more options, visit https://groups.google.com/a/opendtect.org/d/optout.

--
You received this message because you are subscribed to the Google Groups "OpendTect Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to developers+...@opendtect.org.
To post to this group, send email to devel...@opendtect.org.
Visit this group at https://groups.google.com/a/opendtect.org/group/developers/.
To view this discussion on the web visit https://groups.google.com/a/opendtect.org/d/msgid/developers/5722E3DC.5080003%40dgbes.com.



--

Gianluigi Caddeo

Via Miniere 7,
09010  Nuxis  | Italy

Skype ggigi78

This e-mail is confidential and may also contain privileged information. If you are not the intended recipient you are not authorised to read, print, save, process or disclose this message. If you have received this message by mistake, please inform the sender immediately and delete this e-mail, its attachments and any copies.

Any use, distribution, reproduction or disclosure by any person other than the intended recipient is strictly prohibited and the person responsible may incur penalties.

Thank you

--
You received this message because you are subscribed to the Google Groups "OpendTect Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to developers+...@opendtect.org.
To post to this group, send email to devel...@opendtect.org.
Visit this group at https://groups.google.com/a/opendtect.org/group/developers/.
To view this discussion on the web visit https://groups.google.com/a/opendtect.org/d/msgid/developers/CAA6xzhLYzSd5xhETWfFJjsT%2Bamab3r6xr6dw1Y0%2BV2HjE%3DFFug%40mail.gmail.com.
For more options, visit https://groups.google.com/a/opendtect.org/d/optout.

Sean McQuaid

unread,
Dec 13, 2017, 4:19:49 AM12/13/17
to devel...@opendtect.org

Please don’t use “Gents”, we all need to be gender neutral on email announcements.

Reply all
Reply to author
Forward
0 new messages