This is a known problem - there is some sort of incompatibility between
Qt and ruby on startup. The fix is to start your program via 'krubyinit'
(found in korundum/bin).-- Richard
Hi, thanks for the information.
I found krubyinit.cpp here:
I tried to compile it with:
$ gcc -I/usr/lib/ruby/1.8/i686-linux -o krubyinit krubyinit.cpp -lruby
and received the error:
/tmp/cc5G9T5J.o(.eh_frame+0x11): undefined reference to
`__gxx_personality_v0'Is there anything else needed to link it with?
I haven't heard of that one before. The build problem I had with krubyinit
was that it was expecting to link against libruby.so, and ruby didn't build
that be default. I needed to use '--enable-shared' configure option and
build ruby. I searched google for your error, and it looks like you need to
link with g++ rather than gcc.
-- Richard
Using g++ instead of gcc worked. But still the same segmentation fault. ![]()
regards
Jochen
···
ruby-talk@ruby-lang.org schrieb am 14.07.04 09:58:00: Jochen Immendörfer wrote:
_______________________________________________________
WEB.DE Video-Mail - Sagen Sie mehr mit bewegten Bildern
Informationen unter: E-Mail-Adresse erstellen kostenlos | FreeMail