comp.lang.ada
 help / color / mirror / Atom feed
From: "Nasser M. Abbasi" <nma@12000.org>
Subject: Re: error running openGL/Ada demo from GLOBE_3D using GNAT 2012
Date: Sat, 14 Jul 2012 15:06:44 -0500
Date: 2012-07-14T15:06:44-05:00	[thread overview]
Message-ID: <jtsjgj$la2$1@speranza.aioe.org> (raw)
In-Reply-To: jtsiso$jr9$1@speranza.aioe.org

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




  reply	other threads:[~2012-07-14 20:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-14  6:47 error running openGL/Ada demo from GLOBE_3D using GNAT 2012 Nasser M. Abbasi
2012-07-14 14:16 ` gautier_niouzes
2012-07-14 17:59   ` Nasser M. Abbasi
2012-07-14 19:40     ` gautier_niouzes
2012-07-14 19:56       ` Nasser M. Abbasi
2012-07-14 20:06         ` Nasser M. Abbasi [this message]
2012-07-14 20:59           ` gautier_niouzes
2012-07-14 21:29             ` Nasser M. Abbasi
2012-07-15  3:44             ` Nasser M. Abbasi
2012-07-15  5:14               ` gautier_niouzes
2012-07-15  5:54                 ` Nasser M. Abbasi
2012-07-16  2:11                   ` gautier_niouzes
2012-07-16  2:21                     ` Nasser M. Abbasi
2012-07-16  9:07                       ` gautier_niouzes
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox