﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1391	Dynamic library versions not found	PDM	PDM	"I've installed openmodelica-devel r7522 on an Intel iMac running OSX 10.5.8, using MacPorts and XCode 3.1.4, and after upgrading outdated ports. When I execute OMShell I get the following:
{{{
bash-3.2$ OMShell
dyld: Library not loaded: /opt/local/lib/libssl.0.9.8.dylib
  Referenced from: /opt/local/lib/libQtNetwork.4.dylib
  Reason: image not found
Trace/BPT trap
}}}
/opt/local/lib contains the alias libssl.dylib and its target libssl.1.0.0.dylib, but not libssl.0.9.8.dylib.

I've no experience with patching dynamic libraries, but I tried making libssl.0.9.8.dylib an alias for libssl.1.0.0.dylib. That gave me:
{{{
bash-3.2$ OMShell
dyld: Library not loaded: /opt/local/lib/libcrypto.0.9.8.dylib
  Referenced from: /opt/local/lib/libQtNetwork.4.dylib
  Reason: image not found
}}}
After making libcrypto.0.9.8.dylib an alias for libcrypto.1.0.0.dylib, OMShell loaded, but gave the following series of errors/warnings:
{{{
basic_string::_S_construct NULL not valid

Was unable to start OMC, therefore OMShell will not work correctly.

Could not find environment variable OPENMODELICAHOME, command completion will not work.

Could not open file: /share/omshell/commands.xml
Could not create command completion class!
}}}
after which the OMShell window appeared. Unsurprisingly, loadModel(Modelica) then gave {{[[ERROR] No OMC serer started - unable to restart OMC}}."	defect	closed	high			trunk	fixed		PDM
