* libncurses, last GNAT
@ 2021-01-30 16:41 Mehdi Saada
2021-01-30 17:37 ` John Perry
2021-01-30 17:51 ` Stephen Leake
0 siblings, 2 replies; 5+ messages in thread
From: Mehdi Saada @ 2021-01-30 16:41 UTC (permalink / raw)
with debian (current stable) 's last repository GNAT I just had a proper bug, with the demand to pass the context to gnu bug tracker (so it really wasn't from my program),
so I installed the version from adacore, and get that:
mehdi:/opt/GNAT/2020/bin$ gnatstudio
/usr/bin/gnatstudio_exe: error while loading shared libraries: libadalang.so: cannot open shared object file: No such file or directory
I've read I had to install libncurses5 but it does nothing. at least not without restarting ?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libncurses, last GNAT
2021-01-30 16:41 libncurses, last GNAT Mehdi Saada
@ 2021-01-30 17:37 ` John Perry
2021-01-30 17:51 ` Stephen Leake
1 sibling, 0 replies; 5+ messages in thread
From: John Perry @ 2021-01-30 17:37 UTC (permalink / raw)
On Saturday, January 30, 2021 at 10:41:37 AM UTC-6, 0012...@gmail.com wrote:
> with debian (current stable) 's last repository GNAT I just had a proper bug, with the demand to pass the context to gnu bug tracker (so it really wasn't from my program),
> so I installed the version from adacore, and get that:
> mehdi:/opt/GNAT/2020/bin$ gnatstudio
> /usr/bin/gnatstudio_exe: error while loading shared libraries: libadalang.so: cannot open shared object file: No such file or directory
> I've read I had to install libncurses5 but it does nothing. at least not without restarting ?
I had the libncurses problem the other day on Fedora; that's solved by installing ncurses-compat-lib (something like that; not at my Linux box). Missing libadalang is another matter altogether. Installing gnat should have taken care of that. Did you install the Community Edition?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libncurses, last GNAT
2021-01-30 16:41 libncurses, last GNAT Mehdi Saada
2021-01-30 17:37 ` John Perry
@ 2021-01-30 17:51 ` Stephen Leake
2021-01-30 20:26 ` Mehdi Saada
1 sibling, 1 reply; 5+ messages in thread
From: Stephen Leake @ 2021-01-30 17:51 UTC (permalink / raw)
Mehdi Saada <00120260a@gmail.com> writes:
> with debian (current stable) 's last repository GNAT I just had a
> proper bug, with the demand to pass the context to gnu bug tracker (so
> it really wasn't from my program),
> so I installed the version from adacore, and get that:
> mehdi:/opt/GNAT/2020/bin$ gnatstudio
> /usr/bin/gnatstudio_exe: error while loading shared libraries:
> libadalang.so: cannot open shared object file: No such file or
> directory
This means libadalang.so is not in $PATH.
You need to in include /opt/GNAT/2020/bin in PATH.
> I've read I had to install libncurses5 but it does nothing. at least
> not without restarting ?
Better to read the actual error message first; it does not mention
libncurses.
--
-- Stephe
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libncurses, last GNAT
2021-01-30 17:51 ` Stephen Leake
@ 2021-01-30 20:26 ` Mehdi Saada
2021-01-30 21:25 ` Simon Wright
0 siblings, 1 reply; 5+ messages in thread
From: Mehdi Saada @ 2021-01-30 20:26 UTC (permalink / raw)
I linked the entire content of GNAT/2020/bin into /usr/bin otherwise I could not run gnatstudio without "./".
Besides, I should be able to run these things in the console from /usr/GNAT/2020/bin without problems.
I read about libncurses5, installed it, it changed nothing.
I don't know what else ncurses-compat-lib is supposed to be matched with, within Debian.
the repository version of GNAT crashed with a dignified demand to transmit further the bug report... so I tried a more recent version.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: libncurses, last GNAT
2021-01-30 20:26 ` Mehdi Saada
@ 2021-01-30 21:25 ` Simon Wright
0 siblings, 0 replies; 5+ messages in thread
From: Simon Wright @ 2021-01-30 21:25 UTC (permalink / raw)
Mehdi Saada <00120260a@gmail.com> writes:
> I linked the entire content of GNAT/2020/bin into /usr/bin otherwise I
> could not run gnatstudio without "./".
This is a Bad Idea. You should regard the contents of /usr/bin, /usr/lib
etc as sacrosanct.
> Besides, I should be able to run these things in the console from
> /usr/GNAT/2020/bin without problems.
Well, yes, but you ought to make sure that /usr/GNAT/2020/bin is at the
front of your PATH & run from directories under your $HOME (i.e. under
~/mehdi). Again, you shouldn't put any of your work directories anywhere
under /usr/GNAT/2020.
In case you're new to setting PATH, try for example here:
https://linuxize.com/post/how-to-add-directory-to-path-in-linux/
> I read about libncurses5, installed it, it changed nothing.
> I don't know what else ncurses-compat-lib is supposed to be matched
> with, within Debian.
You were having troubles with libadalang, where did curses come into the
picture?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-01-30 21:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-30 16:41 libncurses, last GNAT Mehdi Saada
2021-01-30 17:37 ` John Perry
2021-01-30 17:51 ` Stephen Leake
2021-01-30 20:26 ` Mehdi Saada
2021-01-30 21:25 ` Simon Wright
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox