Dependency conflicts during install & startup on Mac OS X Snow Leopard

Description

A freshly installed ADL Workbench won't start on my machine, and gives the following error log...

2011-01-21 11.38.46 [0x0-0x19d19d].org.openehr.adl_workbench[22066] ----------------------------------------- 2011-01-21 11.38.46 [0x0-0x19d19d].org.openehr.adl_workbench[22066] Launching ADL Workbench
2011-01-21 11.38.47 [0x0-0x19d19d].org.openehr.adl_workbench dyld: Library not loaded: /opt/local/lib/libpng12.0.dylib
2011-01-21 11.38.47 [0x0-0x19d19d].org.openehr.adl_workbench Referenced from: /Applications/openEHR/ADL Workbench.app/Contents/Resources/adl_workbench
2011-01-21 11.38.47 [0x0-0x19d19d].org.openehr.adl_workbench Reason: image not found
2011-01-21 11.38.47 ReportCrash[22074] Saved crash report for adl_workbench[22069] version — ? (?) to /Users/erisu/Library/Logs/DiagnosticReports/adl_workbench_2011-01-21-113847_sundvall-macbookpro.crash

...suspecting that the AWB needs an older libpng, I downgraded to libpng12 (by downloading, installing and then activating it using: sudo port activate libpng @1.2.44_0)
But that then gives the following error instead...

2011-01-21 11.39.38 [0x0-0x19f19f].org.openehr.adl_workbench[22091] ----------------------------------------- 2011-01-21 11.39.38 [0x0-0x19f19f].org.openehr.adl_workbench[22091] Launching ADL Workbench
2011-01-21 11.39.38 [0x0-0x19f19f].org.openehr.adl_workbench dyld: Library not loaded: /opt/local/lib/libpng14.14.dylib
2011-01-21 11.39.38 [0x0-0x19f19f].org.openehr.adl_workbench Referenced from: /opt/local/lib/libgtk-x11-2.0.0.dylib
2011-01-21 11.39.38 [0x0-0x19f19f].org.openehr.adl_workbench Reason: image not found
2011-01-21 11.39.38 ReportCrash[22074] Saved crash report for adl_workbench[22094] version — ? (?) to /Users/erisu/Library/Logs/DiagnosticReports/adl_workbench_2011-01-21-113938_sundvall-macbookpro.crash

I suspect an older version of gtk2 or other artifacts was used when compiling the ADL Workbench. Running "port installed gtk2" on my system reports "The following ports are currently installed: gtk2 @2.22.1_1+x11 (active)", if so, could you either compile and release an ADL Workbench with updated dependencies, or specify exactly what versions of gtk2 etc that are needed to get the AWB running?

Other hints and solutions are welcome.

P.s. ADL 1.5 beta 3 is not yet available as choice under "Affects Version/s:" in Jira

Environment

Mac OS X 10.6.6 (10J567) aka Snow Leopard, MacPorts 1.9.2, X11 2.6.0 - 2010.12.19 (From http://xquartz.macosforge.org/trac/wiki/Releases), ADL 1.5 Workbench beta release 3, 14 January 2011

Reporter

Erik Sundvall

Labels

None

Components

Affects versions

Priority

Major
Configure