Martin Moeller wrote: > > The gnuls-4.0_1 program coredumps when invoked with '-l' parameter. > Debugging shows a problem with libc: > > -- BEGIN LOG -- > > bsdsi# gdb /usr/local/bin/gnuls > GNU gdb 5.2.1 (FreeBSD) > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i386-undermydesk-freebsd"...(no debugging > symbols found)... > (gdb) set args -l > (gdb) run > Starting program: /usr/local/bin/gnuls -l > (no debugging symbols found)...(no debugging symbols found)... > Program received signal SIGSEGV, Segmentation fault. > 0x28109c46 in strcasecmp () from /usr/lib/libc.so.5 > > -- END LOG -- > > Is anyone experiencing the same problem? > Me too... I get rid of this problem by forcing the use of gettext from ports, with the following patch to the Makefile: ================================================================ --- Makefile.orig Wed Mar 26 23:59:02 2003 +++ Makefile Wed Mar 26 23:59:50 2003 _at__at_ -16,7 +16,12 _at__at_ MAINTAINER= bmc_at_WillsCreek.COM COMMENT= GNU colorized `ls' +LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext + GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + MAN1= gnuls.1 dircolors.1 dir.1 vdir.1 .include <bsd.port.pre.mk> ================================================================ > Regards, > Martin > Hope this help, Claude BuissonReceived on Wed Mar 26 2003 - 14:10:54 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:01 UTC