Re: question about libreadline

2021-10-12 Thread Luca Ferrari
On Tue, Oct 12, 2021 at 11:48 AM Omar Polo wrote: > $ ./configure CFLAGS=-I/usr/local/include/ereadline \ > LDFLAGS='-L/usr/local/lib -lereadline' > Seems to work! Thanks. > btw, it would be nice to have it in the port tree. I might do it > sometimes in the following days if someone doe

Re: question about libreadline

2021-10-12 Thread Omar Polo
Omar Polo writes: > Luca Ferrari writes: >[...] >> #4 0x0bd162b8a2d8 in main (argc=0, argv=0x1) at src/pspg.c:5405 > > (I'm curios why you have argc=0 argv=0x1 here) > >> Any other thing I can do to better diagnose the problem? >> >> Thanks, >> Luca > > I get a slightly different backtrac

Re: question about libreadline

2021-10-12 Thread Omar Polo
Luca Ferrari writes: > On Tue, Oct 12, 2021 at 10:31 AM Omar Polo wrote: >> readline from ports shouldn't be needed. Moreover, port's readline >> install files as `libereadline', so it should be difficult to pick those >> header by accident. > > Since I'm curious, what if a program needs newe

Re: question about libreadline

2021-10-12 Thread Luca Ferrari
On Tue, Oct 12, 2021 at 10:31 AM Omar Polo wrote: > readline from ports shouldn't be needed. Moreover, port's readline > install files as `libereadline', so it should be difficult to pick those > header by accident. Since I'm curious, what if a program needs newer readline? It will need liberead

Re: question about libreadline

2021-10-12 Thread Stuart Henderson
On 2021-10-12, Luca Ferrari wrote: > Hi all, > this could be trivial, but I have a doubt about libreadline. > In short: I've a program (pspg) that is crashing, and after inspecting > the core I found in the backtrace a reference to libreadline. The > program has been linked to libreadline 4, but i

Re: question about libreadline

2021-10-12 Thread Omar Polo
Luca Ferrari writes: > Hi all, > this could be trivial, but I have a doubt about libreadline. > In short: I've a program (pspg) that is crashing, and after inspecting > the core I found in the backtrace a reference to libreadline. The > program has been linked to libreadline 4, but in the syste