Opened 7 years ago

Closed 7 years ago

#55868 closed defect (duplicate)

gtk3: lazy symbol binding failed

Reported by: olmanolman Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: Bachsau (Bachsau)
Port: gtk3

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I updated macports today (21. 02. 2018)

before the update all worked properly but now I receive :

dyld: lazy symbol binding failed: Symbol not found: _gdk_quartz_atom_to_pasteboard_type_libgtk_only
  Referenced from: /opt/local/lib/libgtk-3.0.dylib
  Expected in: flat namespace

dyld: Symbol not found: _gdk_quartz_atom_to_pasteboard_type_libgtk_only
  Referenced from: /opt/local/lib/libgtk-3.0.dylib
  Expected in: flat namespace

the application does not run

Attachments (1)

test.c (5.6 KB) - added by olmanolman 7 years ago.

Download all attachments as: .zip

Change History (8)

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

Priority: HighNormal

The Priority field is for use by Macports team members only.

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

Description: modified (diff)
Port: gtk3 added; gtk removed
Summary: lazy symbol binding failedgtk3: lazy symbol binding failed

Which application generates this error?

Was gtk3 or any of its dependencies installed with the +quartz variant before, and if so, is it / are they installed with that variant now?

Changed 7 years ago by olmanolman

Attachment: test.c added

comment:3 Changed 7 years ago by olmanolman

see c code I appended

with 
//		LEdit_PrototypEntry = gtk_entry_new ();
//		gtk_fixed_put (GTK_FIXED (FixedLayout_Prototyp), LEdit_PrototypEntry, 150, 80);
it produces no messages

with
		LEdit_PrototypEntry = gtk_entry_new ();
		gtk_fixed_put (GTK_FIXED (FixedLayout_Prototyp), LEdit_PrototypEntry, 150, 80);
it produces the messages 

used
xcode Version 9.2 (9C40b)

c code
test.c

libraries
libcairo.2.dylib
libgtk-3.0.dylib
libglib-2.0.0.dylib
libgobject-2.0.0.dylib

HEADER_SEARCH_PATHS = (
"/opt/local/include/gtk-3.0",
"/opt/local/include/glib-2.0",
"/opt/local/lib/glib-2.0/include",
"/opt/local/include/pango-1.0",
"/opt/local/include/cairo,
"/opt/local/include/gdk-pixbuf-2.0",
"/opt/local/include/atk-1.0",
);
LIBRARY_SEARCH_PATHS = /opt/local/lib;

comment:4 Changed 7 years ago by olmanolman

with this version it is working

aae84:_lib heinrichadam$ otool -L libgdk-3.0.dylib
libgdk-3.0.dylib:
	/opt/local/lib/libgdk-3.0.dylib (compatibility version 2201.0.0, current version 2201.26.0)
	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 22.0.0)
	@rpath/libpangocairo-1.0.0.dylib (compatibility version 4001.0.0, current version 4001.14.0)
	@rpath/libpango-1.0.0.dylib (compatibility version 4001.0.0, current version 4001.14.0)
	@rpath/libgdk_pixbuf-2.0.0.dylib (compatibility version 3612.0.0, current version 3612.0.0)
	@rpath/libcairo-gobject.2.dylib (compatibility version 11403.0.0, current version 11403.12.0)
	@rpath/libgio-2.0.0.dylib (compatibility version 5401.0.0, current version 5401.2.0)
	@rpath/libgobject-2.0.0.dylib (compatibility version 5401.0.0, current version 5401.2.0)
	@rpath/libglib-2.0.0.dylib (compatibility version 5401.0.0, current version 5401.2.0)
	@rpath/libcairo.2.dylib (compatibility version 11403.0.0, current version 11403.12.0)
	@rpath/libepoxy.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.0.0)
	@rpath/libintl.8.dylib (compatibility version 10.0.0, current version 10.5.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1450.16.0)
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1561.20.106)
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 50.0.0)
	/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 1129.5.0)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 822.19.0)
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1450.16.0)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)

nm libgdk-3.0.dylib
0000000000038de8 T _gdk_quartz_atom_to_pasteboard_type_libgtk_only

big T


with this version it is not working

aae84:lib heinrichadam$ otool -L libgdk-3.0.dylib
libgdk-3.0.dylib:
	/opt/local/lib/libgdk-3.0.dylib (compatibility version 2201.0.0, current version 2201.28.0)
	/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 22.0.0)
	/opt/local/lib/libpangocairo-1.0.0.dylib (compatibility version 4001.0.0, current version 4001.14.0)
	/opt/local/lib/libpango-1.0.0.dylib (compatibility version 4001.0.0, current version 4001.14.0)
	/opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 3612.0.0, current version 3612.0.0)
	/opt/local/lib/libcairo-gobject.2.dylib (compatibility version 11403.0.0, current version 11403.12.0)
	/opt/local/lib/libgio-2.0.0.dylib (compatibility version 5401.0.0, current version 5401.3.0)
	/opt/local/lib/libgobject-2.0.0.dylib (compatibility version 5401.0.0, current version 5401.3.0)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 5401.0.0, current version 5401.3.0)
	/opt/local/lib/libcairo.2.dylib (compatibility version 11403.0.0, current version 11403.12.0)
	/opt/local/lib/libepoxy.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.0.0)
	/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.5.0)
	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1451.0.0)
	/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1561.20.106)
	/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 50.0.0)
	/System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics (compatibility version 64.0.0, current version 1129.5.0)
	/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 822.19.0)
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 1451.0.0)
	/usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 228.0.0)

nm libgdk-3.0.dylib
0000000000037e34 t _gdk_quartz_atom_to_pasteboard_type_libgtk_only

little t

Last edited 7 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 Changed 7 years ago by Bachsau (Bachsau)

I just reinstalled MacPorts as it was a mess and now I'm also running into this problem, with "glade" as well as with my own python3 application. All ports were installed with variants -x11 +no_x11 +quartz +bash_completion +nonfree.

comment:6 Changed 7 years ago by Bachsau (Bachsau)

Cc: Bachsau added

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

Resolution: duplicate
Status: newclosed

I'm calling this a duplicate of #55870 because although this ticket came first, that one has a patch.

Note: See TracTickets for help on using tickets.