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 14:56:10 -0500
Date: 2012-07-14T14:56:10-05:00	[thread overview]
Message-ID: <jtsiso$jr9$1@speranza.aioe.org> (raw)
In-Reply-To: c9282251-1c60-4bed-9179-dec7adf5ca3b@googlegroups.com

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



  reply	other threads:[~2012-07-14 19:56 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 [this message]
2012-07-14 20:06         ` Nasser M. Abbasi
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