MacPorts 2.7.0 has been released

Ryan Schmidt ryandesign at macports.org
Thu May 20 06:13:51 UTC 2021


On May 19, 2021, at 18:31, Bjarne D Mathiesen wrote:

> Ryan Schmidt wrote:
>> Looks like support for the "ALTER TABLE ... RENAME COLUMN" syntax
>> first appeared in SQLite 3.25.0, and MacPorts base is coded only to
>> use the "RENAME COLUMN" syntax with SQLite 3.25.0 and later; for
>> earlier versions, a different method is used:
>> 
>> What version of SQLite does your version of macOS have? Run:
>> 
>> /usr/bin/sqlite3 --version
>> 
>> I'm on macOS High Sierra with SQLite 3.19.3 and I haven't seen that problem.
> 
> Qs:
> 1) does MacPorts !explicitly! request /usr/bin/sqlite3

MacPorts uses /usr/lib/libsqlite3.dylib.

>   -or- does MacPorts use the one found in ${PATH}

> 2) is it advantagerous for MacPorts to use sqlite3 >= 3.25.0
> 
> eg for 10.6.8 I've got :
> 
> #=> /usr/bin/sqlite3 --version
> 3.6.12
> #=> which sqlite3
> /opt/local/bin/sqlite3
> #=> sqlite3 --version
> 3.35.5 2021-04-19 18:32:05 1b256d97b ... e98fae886

MacPorts by default uses the version of SQLite included with macOS. MacPorts 2.7.0 is compatible with every version of SQLite that comes with every supported version of macOS (10.4 and later including 11).

The problem here may be that the version of SQLite whose headers were found at build time is different from the version of SQLite whose library was found at runtime. See the ticket.



More information about the macports-users mailing list