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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.40.65 with SMTP id j1mr1025251qae.7.1373284490635; Mon, 08 Jul 2013 04:54:50 -0700 (PDT) X-Received: by 10.49.4.104 with SMTP id j8mr499315qej.40.1373284490620; Mon, 08 Jul 2013 04:54:50 -0700 (PDT) Path: border1.nntp.ams3.giganews.com!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder3.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!69.16.185.11.MISMATCH!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!t19no738326qam.0!news-out.google.com!f7ni1559qai.0!nntp.google.com!t19no772370qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 8 Jul 2013 04:54:50 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=195.182.34.201; posting-account=bMuEOQoAAACUUr_ghL3RBIi5neBZ5w_S NNTP-Posting-Host: 195.182.34.201 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <1a028a67-76d9-4b01-b892-37a053997fee@googlegroups.com> Subject: Re: Shered library in Ada - undefined symbols problem (Ubuntu) From: Maciej Sobczak Injection-Date: Mon, 08 Jul 2013 11:54:50 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 1757 X-Original-Bytes: 2095 Xref: number.nntp.dca.giganews.com comp.lang.ada:182322 Date: 2013-07-08T04:54:50-07:00 List-Id: > This is Linux Ubuntu, GNAT 4.6 from official packages. Interesting additional info: it works like a charm with GNAT GPL 2013 on the same system. Does it qualify as a bug in the FSF version of GNAT? Just in case you would like to reproduce it, the minimal test is described here: http://www.inspirel.com/articles/Ada_Python_Binding.html The code snippets are complete - it is enough to save them as files with appropriate names. The Python's ctypes.CDLL(...) presented in the example Python session is the critical line. -- Maciej Sobczak * http://www.msobczak.com * http://www.inspirel.com