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=2.0 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,30e165cfb56b149d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Received: by 10.68.228.227 with SMTP id sl3mr5429529pbc.5.1342295773825; Sat, 14 Jul 2012 12:56:13 -0700 (PDT) Path: l9ni11715pbj.0!nntp.google.com!news1.google.com!goblin3!goblin.stu.neva.ru!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: "Nasser M. Abbasi" Newsgroups: comp.lang.ada Subject: Re: error running openGL/Ada demo from GLOBE_3D using GNAT 2012 Date: Sat, 14 Jul 2012 14:56:10 -0500 Organization: Aioe.org NNTP Server Message-ID: References: <4b22c809-4d41-4d0d-8824-4c335e4e6957@googlegroups.com> Reply-To: nma@12000.org NNTP-Posting-Host: KdJUrTuvv3Zv/s8pPxNluw.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 X-Notice: Filtered by postfilter v. 0.8.2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Date: 2012-07-14T14:56:10-05:00 List-Id: On 7/14/2012 2:40 PM, gautier_niouzes@hotmail.com wrote: > Le samedi 14 juillet 2012 19:59:09 UTC+2, Nasser M. Abbasi a �crit : > What happens when you run the Linux executable that is shipped with the >whole stuff ? - I mean: ./globe3d_demo_linux ? That is what I tried first time I downloaded the software, before doing anything, but I get this error ------------------------- >./globe_3d_demo_linux ./globe_3d_demo_linux: error while loading shared libraries: libgnat-4.4.so.1: cannot open shared object file: No such file or directory > ----------------------- THat is why I build things. I am using GNAT2012 on linux, not the earlier gnat version. i.e. I downloaded gnat2012 from Libre and installed it. >echo $LD_LIBRARY_PATH /usr/lib/atlas-base/:/usr/lib/atlas-base/atlas/ >echo $LIBRARY_PATH /usr/lib/i386-linux-gnu/ >which gnatmake /usr/gnat/bin/gnatmake >gnatmake -v GNATMAKE GPL 2012 (20120509) >sudo updatedb [sudo] password for me: >locate libgnat.so /usr/gnat/lib/gcc/i686-pc-linux-gnu/4.5.4/rts-native/adalib/libgnat.so /usr/lib/gcc/i686-linux-gnu/4.6/rts-native/adalib/libgnat.so /usr/lib/i386-linux-gnu/libgnat.so > All my other gnatmake commands on my toy Ada programs compile and run with no problem, so I assume all the paths and env. variables I need to use Ada are ok as is, or do you think I need a different env. variable in addition to what I have to make your above program run? thanks --Nasser