[MacPorts] #72021: sqlite3 @3.49.0: wrong install name for libsqlite3.dylib

MacPorts noreply at macports.org
Fri Feb 7 23:55:01 UTC 2025


#72021: sqlite3 @3.49.0: wrong install name for libsqlite3.dylib
------------------------+------------------------
 Reporter:  ryandesign  |      Owner:  ryandesign
     Type:  defect      |     Status:  assigned
 Priority:  High        |  Milestone:
Component:  ports       |    Version:  2.10.5
 Keywords:              |       Port:  sqlite3
------------------------+------------------------
 {{{
 % port installed sqlite3
 The following ports are currently installed:
   sqlite3 @3.49.0_0 (active)
 }}}
 {{{
 % otool -L /opt/local/lib/libsqlite3.dylib
 /opt/local/lib/libsqlite3.dylib:
         libsqlite3.dylib (compatibility version 9.0.0, current version
 9.6.0)
         /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
 version 1.3.1)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1311.100.3)
 }}}

 The install name of libsqlite3.dylib must be fixed to be the absolute path
 ASAP. Any ports that link to libsqlite3.dylib that get updated after
 sqlite3 was updated to 3.49.0 will get the wrong path baked into them and
 will not work and will thus need revbumps after this is fixed.

 Previous versions of the port installed a library with install name
 /opt/local/lib/libsqlite3.0.dylib so I suggest we keep doing that.

 I know the build system changed significantly in this version by the
 removal of libtool which had previously done all this. If it's too
 difficult to fix the build system properly, `install_name_tool` can be
 used to fix it in a post-build step.

-- 
Ticket URL: <https://trac.macports.org/ticket/72021>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list