On Mon, Nov 29, 2021 at 10:19 AM Daniel Sahlberg <daniel.l.sahlb...@gmail.com> wrote: > > Den tis 2 nov. 2021 kl 09:33 skrev Daniel Sahlberg > <daniel.l.sahlb...@gmail.com>: >> >> Den mån 1 nov. 2021 kl 09:32 skrev Gretton, Liam >> <liam.gret...@leicester.ac.uk>: (snip) >> > .libs/sqlite3wrapper.o: In function `unixFileControl': >> > >> > /home/liam/downloads/subversion-1.14.1/sqlite-amalgamation/sqlite3.c:38131: >> > undefined reference to `unixFcntlExternalReader' >> > >> > /usr/bin/ld: .libs/sqlite3wrapper.o: relocation R_X86_64_PC32 against >> > undefined symbol `unixFcntlExternalReader' can not be used when making a >> > shared object; recompile with -fPIC (snip) >> As far as I can tell this is a bug in SQLite. The offending function >> was added 2021-04-02 [1] and it seems to be hidden by #ifdef >> SQLITE_OMIT_WAL. There is a reference to the same error in the SQLite >> forums [2] with a suggestion to leave out SQLITE_OMIT_WAL on >> compilation. (snip) > SQLite 3.37.0 was relased today. > > According to a post in the SQLite forums [1], a fix was committed 2021-11-02. > When checking the source of 3.37.0 it seems to be included but I'm out of > time to verify. Maybe you can try a new build? > > Kind regards, > Daniel > > > [1] > https://sqlite.org/forum/forumpost/8066af6dcd79e78490694a324ed655fe6b6588bf5f02db09becb60ea233e5b1a
I can confirm: Building 1.14.1: - with sqlite-amalgamation 3.36 fails with ld error: undefined reference to `unixFcntlExternalReader'. - with sqlite-amalgamation 3.37 succeeds. $ ./svn --version --verbose svn, version 1.14.1 (r1886195) compiled Nov 30 2021, 10:24:06 on x86_64-unknown-linux-gnu Copyright (C) 2021 The Apache Software Foundation. This software consists of contributions made by many people; see the NOTICE file for more information. Subversion is open source software, see http://subversion.apache.org/ The following repository access (RA) modules are available: * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - using serf 1.3.9 (compiled with 1.3.9) - handles 'http' scheme - handles 'https' scheme The following authentication credential caches are available: * Gnome Keyring * GPG-Agent System information: * running on x86_64-unknown-linux-gnu - Debian GNU/Linux 10 (buster) (buster) [Linux 4.19.0-18-rt-amd64] * linked dependencies: - APR 1.6.5 (compiled with 1.6.5) - APR-Util 1.6.1 (compiled with 1.6.1) - Expat 2.2.6 (compiled with 2.2.6) - SQLite 3.37.0 (static) - Utf8proc 2.3.0 (compiled with 2.3.0) - ZLib 1.2.11 (compiled with 1.2.11) - LZ4 1.8.3 (compiled with 1.8.3) * loaded shared libraries: - /lib/x86_64-linux-gnu/libz.so.1.2.11 Cheers, Nathan