Opened 11 years ago

Closed 11 years ago

#19576 closed defect (fixed)

nedit 5.5_0 links against wrong X11 libs -> "Error: Unresolved inheritance operation"

Reported by: eborisch@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: nedit systemX11 Cc: jmroot (Joshua Root)
Port: nedit

Description

Nedit links aginst system X11 libs (even though macports libs are installed.) This leads to an "Unresolved inheritance operation" crash when trying to launch.

MacPro$ ldd `which nedit`
/opt/local/bin/nedit:
	/opt/local/lib/libXm.4.dylib (compatibility version 5.0.0, current version 5.1.0)
	/usr/X11/lib/libXp.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)
	/usr/X11/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)
	/usr/X11/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3)
MacPro$ nedit
Error: Unresolved inheritance operation

Build needs to be patched to remove -L/usr/X11/lib from build line for non systemX11 builds. With this, everything works fine.

MacPro$ ldd nedit
nedit:
	/opt/local/lib/libXm.4.dylib (compatibility version 5.0.0, current version 5.1.0)
	/opt/local/lib/libXp.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/opt/local/lib/libXpm.4.dylib (compatibility version 16.0.0, current version 16.0.0)
	/opt/local/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)
	/opt/local/lib/libXt.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libSM.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libICE.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libX11.6.dylib (compatibility version 9.0.0, current version 9.0.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.3)

Change History (1)

comment:1 Changed 11 years ago by jmroot (Joshua Root)

Cc: jmr@… added
Resolution: fixed
Status: newclosed

Fixed in r50768.

Note: See TracTickets for help on using tickets.