Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#62372 closed defect (worksforme)

Building librsvg with libffi.7.dylib works

Reported by: Liontooth (David Liontooth) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: librsvg

Description

I get this when I try to build librsvg-2.50.3_0:

:info:build dyld: Library not loaded: /opt/local/lib/libffi.6.dylib

However, my installation has /opt/local/lib/libffi.7.dylib and symlinking to it works -- that is to say, the build completes without complaints.

Change History (2)

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Cc: dbevans removed
Milestone: MacPorts 2.7.0
Owner: set to dbevans
Status: newassigned

comment:2 Changed 4 years ago by kencu (Ken)

Keywords: libffi removed
Resolution: worksforme
Status: assignedclosed

David, we would need at least a main.log to have any hope of helping you out here.

But the likely is that libffi was updated to a new version and things linked against the old version have to be rebuilt to pick up the new libffi version. Exactly what needs to be rebuilt is not clear from the bit you've posted, but it's not librsvg itself (see below).

Please reopen this ticket if you still have this problem, and you can add a main log.

% otool -L /opt/local/lib/librsvg-2.2.dylib
/opt/local/lib/librsvg-2.2.dylib:
	/opt/local/lib/librsvg-2.2.dylib (compatibility version 50.0.0, current version 50.0.0)
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1770.106.0)
	/opt/local/lib/libpng16.16.dylib (compatibility version 54.0.0, current version 54.0.0)
	/opt/local/lib/libcairo-gobject.2.dylib (compatibility version 11603.0.0, current version 11603.0.0)
	/opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 4201.0.0, current version 4201.2.0)
	/opt/local/lib/libgio-2.0.0.dylib (compatibility version 5801.0.0, current version 5801.3.0)
	/opt/local/lib/libharfbuzz.0.dylib (compatibility version 20705.0.0, current version 20705.0.0)
	/opt/local/lib/libxml2.2.dylib (compatibility version 12.0.0, current version 12.10.0)
	/opt/local/lib/libpangocairo-1.0.0.dylib (compatibility version 4201.0.0, current version 4201.4.0)
	/opt/local/lib/libcairo.2.dylib (compatibility version 11603.0.0, current version 11603.0.0)
	/opt/local/lib/libpangoft2-1.0.0.dylib (compatibility version 4201.0.0, current version 4201.4.0)
	/opt/local/lib/libpango-1.0.0.dylib (compatibility version 4201.0.0, current version 4201.4.0)
	/opt/local/lib/libgobject-2.0.0.dylib (compatibility version 5801.0.0, current version 5801.3.0)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 5801.0.0, current version 5801.3.0)
	/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.5.0)
	/opt/local/lib/libfontconfig.1.dylib (compatibility version 14.0.0, current version 14.0.0)
	/opt/local/lib/libfreetype.6.dylib (compatibility version 24.0.0, current version 24.4.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1770.106.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1292.0.0)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)
Version 0, edited 4 years ago by kencu (Ken) (next)
Note: See TracTickets for help on using tickets.