From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Example Ada calling Gnu Scientific Library (GSL) Date: Tue, 11 Apr 2017 19:45:14 +0100 Organization: A noiseless patient Spider Message-ID: References: <2b035819-e55e-4805-9ff1-a2cec09f13e0@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="f923183821fd639f62f93283f51d07c9"; logging-data="12498"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+iqA0WFy0atwSr+JMl0KZp9LkUAGfjsVQ=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) Cancel-Lock: sha1:RTf9dqtHYjKdJHZjz4EW4Nd+U7E= sha1:ZfcTc4kvZJUcxZMfVnxBIaBJZzE= Xref: news.eternal-september.org comp.lang.ada:46573 Date: 2017-04-11T19:45:14+01:00 List-Id: hreba writes: > FINALLY! > > I had to add "-L/usr/lib"!. This provoked a series of other link > errors showing that "-lgslcblas" is needed too. [...] > Thanks to all for your help, and specially to Simon for his patience. You're welcome! Glad it's come good. [to be ignored in the interests of getting on with the job...] I still think the required libraries could be specified in gsl_raw. And shouldn't /usr/lib be the default, not needing to be specified?