From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15368 invoked by alias); 26 Sep 2002 19:30:52 -0000 Mailing-List: contact gsl-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sources.redhat.com Received: (qmail 15331 invoked from network); 26 Sep 2002 19:30:51 -0000 Received: from unknown (HELO blueyonder.co.uk) (195.188.53.96) by sources.redhat.com with SMTP; 26 Sep 2002 19:30:51 -0000 Received: from pcow053o.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.757.75); Thu, 26 Sep 2002 20:30:47 +0100 Received: from localhost (unverified [80.192.10.107]) by pcow053o.blueyonder.co.uk (Content Technologies SMTPRS 4.2.9) with ESMTP id ; Thu, 26 Sep 2002 19:46:26 +0100 Received: by network-theory.co.uk via sendmail from stdin id (Debian Smail3.2.0.102) for ceo@free.fr; Thu, 26 Sep 2002 19:40:53 +0100 (BST) From: Brian Gough MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-ID: <15763.21685.739777.148653@debian> Date: Thu, 26 Sep 2002 17:01:00 -0000 To: "F. Schoenahl" Cc: gsl-discuss@sources.redhat.com Subject: Re: Core dumped with test prog. In-Reply-To: <20020926122335.3c068996.ceo@free.fr> References: <20020926122335.3c068996.ceo@free.fr> X-SW-Source: 2002-q3/txt/msg00234.txt.bz2 F. Schoenahl writes: > I receive a core dumped when trying to execute a small binary (GCC 2.95.3, Solaris Sparc 2.7) compiled with > gcc -g main.c -o sample -lgsl -lgslcblas > main.c is the example program of the documentation (bessel_sf_J0). > Program received signal SIGSEGV, Segmentation fault. > 0xff31a958 in __do_global_ctors_aux () from /usr/local/lib/libgsl.so.0 > Any help? Try explicitly linking with the static version library gcc -g main.c -o sample /usr/local/lib/libgsl.a /usr/local/lib/libgslcblas.a to see if the problem is related to shared libraries on Solaris. regards Brian