Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#35955 closed defect (fixed)

libiodbc opportunistically links with at least gtk2

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: yue.liu@…, cooljeanius (Eric Gallager), bitpup, jsm@…
Port: libiodbc

Description

In r97345 I added a libpng dependency to libiodbc, but apparently it still needs dependencies on other ports—at least gtk2:

$ port provides /opt/local/bin/iodbcadm-gtk
/opt/local/bin/iodbcadm-gtk is provided by: libiodbc
$ otool -L /opt/local/bin/iodbcadm-gtk
/opt/local/bin/iodbcadm-gtk:
	/opt/local/lib/libiodbcadm.2.dylib (compatibility version 4.0.0, current version 4.20.0)
	/opt/local/lib/libiodbcinst.2.dylib (compatibility version 4.0.0, current version 4.20.0)
	/opt/local/lib/libiodbc.2.dylib (compatibility version 4.0.0, current version 4.20.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 169.3.0)
	/opt/local/lib/libgtk-x11-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.11.0)
	/opt/local/lib/libgdk-x11-2.0.0.dylib (compatibility version 2401.0.0, current version 2401.11.0)
	/opt/local/lib/libatk-1.0.0.dylib (compatibility version 20210.0.0, current version 20210.1.0)
	/opt/local/lib/libpangocairo-1.0.0.dylib (compatibility version 3001.0.0, current version 3001.1.0)
	/opt/local/lib/libXinerama.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/opt/local/lib/libXi.6.dylib (compatibility version 8.0.0, current version 8.0.0)
	/opt/local/lib/libXrandr.2.dylib (compatibility version 5.0.0, current version 5.0.0)
	/opt/local/lib/libXext.6.dylib (compatibility version 11.0.0, current version 11.0.0)
	/opt/local/lib/libXcursor.1.dylib (compatibility version 2.0.0, current version 2.2.0)
	/opt/local/lib/libXcomposite.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/opt/local/lib/libXdamage.1.dylib (compatibility version 3.0.0, current version 3.0.0)
	/opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version 2601.0.0, current version 2601.2.0)
	/opt/local/lib/libpangoft2-1.0.0.dylib (compatibility version 3001.0.0, current version 3001.1.0)
	/opt/local/lib/libgio-2.0.0.dylib (compatibility version 3201.0.0, current version 3201.4.0)
	/opt/local/lib/libXfixes.3.dylib (compatibility version 5.0.0, current version 5.0.0)
	/opt/local/lib/libcairo.2.dylib (compatibility version 11203.0.0, current version 11203.2.0)
	/opt/local/lib/libpixman-1.0.dylib (compatibility version 27.0.0, current version 27.2.0)
	/opt/local/lib/libpng15.15.dylib (compatibility version 28.0.0, current version 28.0.0)
	/opt/local/lib/libxcb-shm.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libX11-xcb.1.dylib (compatibility version 2.0.0, current version 2.0.0)
	/opt/local/lib/libxcb-render.0.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libXrender.1.dylib (compatibility version 5.0.0, current version 5.0.0)
	/opt/local/lib/libX11.6.dylib (compatibility version 10.0.0, current version 10.0.0)
	/opt/local/lib/libxcb.1.dylib (compatibility version 3.0.0, current version 3.0.0)
	/opt/local/lib/libXau.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libXdmcp.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libpango-1.0.0.dylib (compatibility version 3001.0.0, current version 3001.1.0)
	/opt/local/lib/libgmodule-2.0.0.dylib (compatibility version 3201.0.0, current version 3201.4.0)
	/opt/local/lib/libfontconfig.1.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libfreetype.6.dylib (compatibility version 16.0.0, current version 16.0.0)
	/opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.7)
	/opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0, current version 1.0.6)
	/opt/local/lib/libexpat.1.dylib (compatibility version 8.0.0, current version 8.0.0)
	/opt/local/lib/libgobject-2.0.0.dylib (compatibility version 3201.0.0, current version 3201.4.0)
	/opt/local/lib/libgthread-2.0.0.dylib (compatibility version 3201.0.0, current version 3201.4.0)
	/opt/local/lib/libffi.6.dylib (compatibility version 7.0.0, current version 7.0.0)
	/opt/local/lib/libglib-2.0.0.dylib (compatibility version 3201.0.0, current version 3201.4.0)
	/usr/lib/libresolv.9.dylib (compatibility version 1.0.0, current version 1.0.0)
	/opt/local/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.1.0)
	/opt/local/lib/libiconv.2.dylib (compatibility version 8.0.0, current version 8.1.0)
	/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 945.0.0)
	/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 155.0.0)

Change History (9)

comment:1 Changed 12 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

comment:2 Changed 12 years ago by nerdling (Jeremy Lavergne)

It looks like it only opportunistically links against gtk2 +x11, where as +no_x11 and/or +quartz actually fails to be found entirely.

comment:3 Changed 12 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

gtk2 +x11 required in r98363.

comment:4 Changed 12 years ago by yue.liu@…

Cc: yue.liu@… added

Cc Me!

comment:5 Changed 12 years ago by yue.liu@…

libiodbc has a compile option --disable-gui, in that case gtk2 and x11 are not needed. I think it should be solved with a "gui" variant, so user don't have to install x11 and gtk2 if they don't need gui.

comment:6 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:7 Changed 11 years ago by bitpup

Cc: wheeltong@… added

Cc Me!

comment:8 in reply to:  5 Changed 11 years ago by cooljeanius (Eric Gallager)

Replying to yue.liu@…:

libiodbc has a compile option --disable-gui, in that case gtk2 and x11 are not needed. I think it should be solved with a "gui" variant, so user don't have to install x11 and gtk2 if they don't need gui.

Made a new issue for this: #38433

comment:9 Changed 11 years ago by jsm@…

Cc: jsm@… added

Cc Me!

Note: See TracTickets for help on using tickets.