Comments (7)
I have two mac users who also experience the ld: library 'crypto' not found
error (no solution yet). As far as I can tell the 'crypto' package is related to cryptocurrency so this seems really odd (perhaps sketchy?).
from cytoml.
Installing OpenSSL and updating PATH resolves this issue on at least some machines.
In terminal:
brew install openssl
In R session:
Sys.setenv(LIBRARY_PATH = '/opt/homebrew/lib')
Sys.setenv(LDFLAGS = '-L/opt/homebrew/lib')
Sys.setenv(CPPFLAGS = '-I/opt/homebrew/include')
If this works consistently, it should enable the package authors to include Apple Silicon install instructions and to provide a macOS arm64 binary on Bioconductor if they choose to.
from cytoml.
We have been running into this issue as well and would appreciate a fix. Installation from source (bioconductor, github) yields the following error message:
clang++ -arch arm64 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o CytoML.so cpp11.o parseFlowJoWorkspace.o /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/cytolib/lib/libcytolib.a /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rhdf5lib/lib/libhdf5_cpp.a /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rhdf5lib/lib/libhdf5.a -L/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Rhdf5lib/lib -lcrypto -lcurl -lsz -laec -lz -ldl -lm -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -lxml2 -lz -lpthread -licucore -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: ignoring duplicate libraries: '-lm', '-lz'
ld: library 'crypto' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [CytoML.so] Error 1
ERROR: compilation failed for package ‘CytoML’
I have tried sourcing CytoML.so
and building CytoML on other machines, but was not successful:
- If the package was built on Macs with x86 architecture the package won't load with a complaint that the wrong architecture was used.
- If I use an R docker image (ubuntu), and build CytoML, I get an arm64 built, but
library(CytoML)
then errors withCytoML.so' (not a mach-o file)
from cytoml.
I am using the M3 chip and I too am having trouble installing it with the same error.
from cytoml.
Using an Apple M1 chip with macOS Sonoma 14.1.1, R version 4.3.3., I also have this problem, also with ld: library 'crypto' not found
. Using the x86_64 version of R does not fix this problem (same error message). Any work-arounds for this?
from cytoml.
Installing OpenSSL and updating PATH resolves this issue on at least some machines.
In terminal:
brew install openssl
In R session:
Sys.setenv(LIBRARY_PATH = '/opt/homebrew/lib') Sys.setenv(LDFLAGS = '-L/opt/homebrew/lib') Sys.setenv(CPPFLAGS = '-I/opt/homebrew/include')
If this works consistently, it should enable the package authors to include Apple Silicon install instructions and to provide a macOS arm64 binary on Bioconductor if they choose to.
This worked! Thank you!
from cytoml.
@davnovak thanks. That worked for me. Adding the PATHs worked. Interestingly, most of the times that I have brew
dependencies, I can launch R
from the command line and compile from source then. But that did not work for CytoML
.
But manually setting the paths did! So thank you, learned something new.
from cytoml.
Related Issues (20)
- CytoML Xml File Parsing Issues HOT 8
- Issue Parsing FlowJo (v10.7.2) XML File HOT 3
- FCS Express compatibility HOT 7
- Get indices of gated events from a FJ workspace / alternative to flowjo_to_gatingset HOT 5
- gs-to-flowjo Singularity issue HOT 2
- Ellipses coordinates are not correct in Gating Set after flowJo workspace parsing - v2.9.0 HOT 4
- R Session Aborts when calling flowjo_to_gatingset() more than once HOT 3
- gatingset_to_flowjo() fails with unsupported transformation: LIN
- Using FlowJo gating on pre-compensated, pre-transformed FCS files HOT 5
- flowjo_to_gatingset troubleshoot: "unknown tranformation type!transforms:linear" HOT 3
- flowjo_to_gatingset(), colname not found: error HOT 2
- Export populations as dataframe from a FlowJo workspace HOT 2
- extract inverse transform
- flowjo_to_gatingset does not accept data.frame as path HOT 5
- flowCore::read.FCS works but CytoML::flowjo_to_gatingset fails; no valid FCS file HOT 11
- boolean gate error
- flowjo_to_gatingset ignore range as defined in FCS files HOT 3
- Support for FCS 3.2? HOT 4
- gatingset_to_flowjo hangs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cytoml.