Bug description 0.9.1_02


Version 0.9.1 and previous versions
Description: Starting hbasic no components will be displayed and the following error message will be displayed in the terminal window:

Error loading library /usr/local/hbasic/packages/hbasic_stdgui.so
Reason: /usr/local/hbasic/packages/hbasic_stdgui.so: undefined symbol: __dso_handle

HBasic could not load the shared library hbasic_stdgui.so and therefore not display the components exported by this library. The required symbol __dso_handle will not be referenced within HBasic. Therefore I think this is an error in the gcc compiler of versions 3.1 and 3.2. If I compile gcc 3.2 myself it doesn't occure. This bug has been fixed in version 0.9.2 by defining the symbol "void *__dso_handle" in all shared libraries. This fix should not be used on systems with other gcc versions. If it occures on your system try to append --with-dso_handle in the configure options.


Execute if error occures on your system:

./configure --with-dso_handle

make
make install