Opened 2 years ago

Closed 15 months ago

#66349 closed defect (fixed)

libmagic @5.43 opportunistically links with liblzma and libbz2

Reported by: jmroot (Joshua Root) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: file

Description

Depending on the OS version and active ports at build time, liblzma and libbz2 might be provided by the system:

% otool -L libmagic-5.43_0.darwin_21.x86_64/opt/local/lib/libmagic.1.dylib 
libmagic-5.43_0.darwin_21.x86_64/opt/local/lib/libmagic.1.dylib:
	/opt/local/lib/libmagic.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/usr/lib/liblzma.5.dylib (compatibility version 6.0.0, current version 6.3.0)
	/usr/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.8)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.12)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.0.0)

or picked up opportunistically from the xz and bzip2 ports, which is of course a more serious issue:

% otool -L libmagic-5.43_0.darwin_10.x86_64/opt/local/lib/libmagic.1.dylib 
libmagic-5.43_0.darwin_10.x86_64/opt/local/lib/libmagic.1.dylib:
	/opt/local/lib/libmagic.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/opt/local/lib/liblzma.5.dylib (compatibility version 8.0.0, current version 8.6.0)
	/opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.8)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.12)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)

Change History (1)

comment:1 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.