On 2024-04-05 05:10 +0200, Tom Lane wrote: > Erik Wienhold <e...@ewie.name> writes: > > It works with the latest libedit 20230828-3.1. Have to check the NetBSD > > source to find out what changed since 20181209-3.1. > > Yeah, the test is passing on mamba which is running the (just > officially released) NetBSD 10.0. I'm not sure whether 10.0 > has the "latest" libedit or something a little further back. > sidewinder, with NetBSD 9.3, is happy as well. But 20181209 > presumably belongs to NetBSD 8.x, which is theoretically still > in support, so maybe it's worth poking into.
Having a look right now. Change [1] looks like a good candidate which is likely in 20221030-3.1. I'm trying to build Postgres with that older libedit version but can't figure out what options to pass to ./configure so that it picks /usr/local/lib/libedit.so instead of /usr/lib/libedit.so. This didn't work: LDFLAGS='-L/usr/local/lib' ./configure --with-libedit-preferred (My ld fu is not so great.) [1] https://github.com/NetBSD/src/commit/12863d4d7917df8a7ef5ad9dab6bb719018a22d1 -- Erik