RGLab / CytoML

A GatingML Interface for Cross Platform Cytometry Data Sharing
GNU Affero General Public License v3.0
29 stars 14 forks source link

Library not loaded: @rpath/libxml2.2.dylib #63

Closed akhst7 closed 4 years ago

akhst7 commented 4 years ago

HI,

Trying to install CytoML-trunk by usingR CMD INSTALL but it fails with a following message:

Error: package or namespace load failed for ‘CytoML’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/Documents/R_lib/00LOCK-CytoML-trunk/00new/CytoML/libs/CytoML.so':
  dlopen(/Documents/R_lib/00LOCK-CytoML-trunk/00new/CytoML/libs/CytoML.so, 6): Library not loaded: @rpath/libxml2.2.dylib
  Referenced from: /Documents/R_lib/00LOCK-CytoML-trunk/00new/CytoML/libs/CytoML.so

How do I point the rpath to a libxml2.2. dylb in /usr/local/Cellar/libxml2 ?

Thanks.

mikejiang commented 4 years ago
cd CytoML
./configure --with-xml2=/usr/local/Cellar/libxml2
R CMD INSTALL . --no-configure
akhst7 commented 4 years ago

Thanks.