EMS application built on Mac OS X Lion cannot be launched, Error: cannot find libz.1.2.3.dylib .

EMS application built on Mac OS X Lion cannot be launched, Error: cannot find libz.1.2.3.dylib .

book

Article ID: KB0088735

calendar_today

Updated On:

Products Versions
TIBCO Enterprise Message Service -
Not Applicable -

Description

Resolution:
Environment:
===========
Mac OS X Lion (10.7)

Symptoms:
========
When you compile the sample C code shipped with EMS into binary, the compilation and linking are successful. However, when running the executable, it will generate an error messages saying,  "cannot find / load the library libz.1.2.3.dylib".


Resolution:
==========

1). Rename the libz library in EMS_HOME/lib/64 from libz.dylib to libz.1.2.3.dyllib

or

2). Copy libz.dylib from EMS_HOME/lib/64 to /usr/lib, and then rename /usr/lib/libz.dylib to /usr/lib/libz.1.2.3.dylib

Issue/Introduction

EMS application built on Mac OS X Lion cannot be launched, Error: cannot find libz.1.2.3.dylib .