first gnustep app! but segfaults

Riccardo Mottola rmottola at opencsw.org
Wed Jun 25 23:16:53 CEST 2014


Hi,

Dagobert Michelsen wrote:
> This may be possible. You can try by adding these flags to your manual
> compile:
>    http://www.opencsw.org/manual/for-developers/index.html
>
I tried that. I configured the "gui" library this way:

./configure CPPFLAGS="-I/opt/csw/include" LDFLAGS="-L/opt/csw/lib 
-R/opt/csw/lib" PKG_CONFIG_PATH="/opt/csw/lib/pkgconfig"

but I still get that crash and the wrong library used at runtime:
0xfdb41748 in __1cDstdM__node_alloc4BiA_L_M_allocate6FI_pv_ ()
    from /usr/lib/libaspell.so.15

in fact ldd confirms that:
bash-4.3$ ldd /opt/GNUstep/Local/Library/Libraries/libgnustep-gui.so
         libicui18n.so.52 =>      /opt/csw/lib/libicui18n.so.52
         libicuuc.so.52 =>        /opt/csw/lib/libicuuc.so.52
         libicudata.so.52 =>      /opt/csw/lib/libicudata.so.52
         libpng12.so.0 =>         /opt/csw/lib/libpng12.so.0
         libgnustep-base.so.1.24 =>       
/opt/GNUstep/Local/Library/Libraries/libgnustep-base.so.1.24
         libaspell.so.15 =>       /usr/lib/libaspell.so.15
         libtiff.so.3 =>  /opt/csw/lib/libtiff.so.3
         libz.so.1 =>     /opt/csw/lib/libz.so.1
         libjpeg.so.62 =>         /opt/csw/lib/libjpeg.so.62
         libm.so.2 =>     /lib/libm.so.2
         libobjc.so.4 =>  /opt/csw/lib/libobjc.so.4
         libgcc_s.so.1 =>         /opt/csw/lib/libgcc_s.so.1
         libpthread.so.1 =>       /lib/libpthread.so.1


also, this is my manual compile, but I have the same problem in the 
packaged compile.

Riccardo


More information about the maintainers mailing list