public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Brian Gough <bjg@network-theory.co.uk>
To: "F. Schoenahl" <ceo@free.fr>
Cc: gsl-discuss@sources.redhat.com
Subject: Re: Core dumped with test prog.
Date: Thu, 26 Sep 2002 17:01:00 -0000	[thread overview]
Message-ID: <15763.21685.739777.148653@debian> (raw)
In-Reply-To: <20020926122335.3c068996.ceo@free.fr>

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

  reply	other threads:[~2002-09-26 19:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-26  7:38 F. Schoenahl
2002-09-26 17:01 ` Brian Gough [this message]
2002-09-30 10:36   ` F. Schoenahl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15763.21685.739777.148653@debian \
    --to=bjg@network-theory.co.uk \
    --cc=ceo@free.fr \
    --cc=gsl-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).