[Rock-dev] LD_LIBRARY_PATH and Qt::UiLoader Segfault

Alexander Duda Alexander.Duda at dfki.de
Wed Aug 31 11:18:29 CEST 2011


Someone extended the environment variable LD_LIBRARY_PATH (env.sh) with
"/lib". The Qt::UiLoader cannot handle this and crashes.

Question: 
-Why was /lib added?
-Has someone else the same problem?

Workaround would be to change LD_LIBRARY_PATH before initializing the
UiLoader.

test.rb:

require 'Qt4'
require 'qtuitools'

app = Qt::Application.new(ARGV)
loader = Qt::UiLoader.new --> will crash

any comments?

Alex

-- 
Dipl.-Ing. Alexander Duda 
Unterwasserrobotik

DFKI Bremen
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-456620
Fax:   +49 (0)421 178-454150
E-Mail: alexander.duda at dfki.de

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.:    DE 148646973
Steuernummer:  19/673/0060/3



More information about the Rock-dev mailing list