Opened 6 years ago

Closed 6 years ago

#56622 closed defect (fixed)

sqlite3 @3.23.1 links with zlib without declaring a dependency on it

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: sqlite3

Description

$ otool -L /opt/local/bin/sqlite3 /opt/local/lib/libsqlite3.dylib
/opt/local/bin/sqlite3:
	/opt/local/lib/libedit.0.dylib (compatibility version 1.0.0, current version 1.56.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.11)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.60.2)
/opt/local/lib/libsqlite3.dylib:
	/opt/local/lib/libsqlite3.0.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.2.11)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.60.2)

Change History (4)

comment:1 Changed 6 years ago by Schamschula (Marius Schamschula)

Hmm.

I wonder how I missed this.

I'll add the dependency.

Last edited 6 years ago by Schamschula (Marius Schamschula) (previous) (diff)

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Right. Trace mode prevents the use of undeclared dependencies. In that case, it uses the copy of zlib included with macOS.

comment:3 Changed 6 years ago by Schamschula (Marius Schamschula)

Yup. That what otool tells me.

comment:4 Changed 6 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

In 5af891b70fd6de524266201e8f0d10e5becd6dc0/macports-ports (master):

sqlite3: add zlib dependency

Closes: #56622

Note: See TracTickets for help on using tickets.