Re: Problem when using NCurses

Holger Freyther <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
> On 28 Mar 2016, at 12:19, olivier auverlot <[email protected]> wrote:
> 
> I have dug in the mailing list archive and I found a similar problem. It
> seems that I must write the following code:
> 
> PackageLoader fileInPackage: 'NCurses'.
> 
> DLD addLibrary: 'libncurses.so.5'.
> NCWindow clock.
> 
> The code snippet runs fine but it's correct ? Can we do better ?


Yes, if you have a look at the packages/ncurses/package.xml file you will notice that it already has a libncurses.so dependency. We will need to add a .la/.so symlink in the plugins directory to not have to try the specific version number.

E.g. if you run "strace" on gst could you see which directories are being tried to find a "libncurses.so"?

holger
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.