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-7-bit Received: by 10.68.223.73 with SMTP id qs9mr5439260pbc.7.1342296408129; Sat, 14 Jul 2012 13:06:48 -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 15:06:44 -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: 7bit Date: 2012-07-14T15:06:44-05:00 List-Id: On 7/14/2012 2:56 PM, Nasser M. Abbasi wrote: > ------------------------- >> ./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 Ok, this what I tried now, since the shared library linked to by your program is different, I made a sym link. Now it runs, but a new error comes up: ---------------------- >cd /usr/lib/i386-linux-gnu/ >ls -lrt libgnat* -rw-r--r-- 1 root root 3073728 May 3 12:35 libgnat-4.6.so.1 lrwxrwxrwx 1 root root 16 May 3 12:36 libgnat-4.6.so -> libgnat-4.6.so.1 >sudo ln -s libgnat-4.6.so.1 libgnat-4.4.so.1 >ls -lrt libgnat* -rw-r--r-- 1 root root 3073728 May 3 12:35 libgnat-4.6.so.1 lrwxrwxrwx 1 root root 16 May 3 12:36 libgnat-4.6.so -> libgnat-4.6.so.1 lrwxrwxrwx 1 root root 16 Jul 14 15:00 libgnat-4.4.so.1 -> libgnat-4.6.so.1 ------------------------- and run the demo again, now I get this error ------------------------------ >./globe_3d_demo_linux ./globe_3d_demo_linux: Symbol `system__restrictions__run_time_restrictions' has different size in shared object, consider re-linking ./globe_3d_demo_linux: Symbol `ada__strings__unbounded__unbounded_stringT' has different size in shared object, consider re-linking ./globe_3d_demo_linux: symbol lookup error: ./globe_3d_demo_linux: undefined symbol: __gnat_eh_personality > ---------------------------------- btw, would it not be better to have those prebuild demo examples in the distribution demo/ folder be build as static instead of shared? so that to eliminate the shared library being different on each system. I am no expert on this, but something to consider. That is why I was trying to build the demo files myself. But due to that texture error, can't run them. thanks. --Nasser