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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9a720a14a5d106b X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail From: "Ludovic Brenta" Newsgroups: comp.lang.ada Subject: Re: Shared Ada Library to be Used in a Non-Ada Context Date: 11 Aug 2005 01:08:41 -0700 Organization: http://groups.google.com Message-ID: <1123747721.859778.146490@g43g2000cwa.googlegroups.com> References: <1123660387.140929.305530@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: 212.190.145.10 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1123747728 9642 127.0.0.1 (11 Aug 2005 08:08:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 11 Aug 2005 08:08:48 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: g43g2000cwa.googlegroups.com; posting-host=212.190.145.10; posting-account=ZjNXewwAAADyBPkwI57_UcX8yKfXWOss Xref: g2news1.google.com comp.lang.ada:4082 Date: 2005-08-11T01:08:41-07:00 List-Id: David Sauvage wrote: > Well i don't thing i figure out how to link libservices.so to the > libgnat the good way, but it work now. I had > "-L/usr/lib/gcc-lib/i486-linux/2.8.1/adalib/ -lgnat" at the end of > the library creation line, i'll keep searching. After setting the > LD_LIBRARY_PATH, it works !! Strange, /usr/lib/gcc-lib/i486-linux/2.8.1/adalib/libgnat.so should be a symbolic link to /usr/lib/libgnat-3.15p.so.1.12, is that not the case? What does 'ldd libservices.so.0.0' and 'ldd main' say? -- Ludovic Brenta.