Skip to content

installation problem #1

@tamerbio

Description

@tamerbio

Dear Karlines,
I'm trying to install limSolve on R version 4.5.0 however i'm getting installiation errors. i tried:

> install.packages("limSolve")
Warning in install.packages :
  package ‘limSolve’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

also:

> devtools::install_github("karlines/limSolve")
Downloading GitHub repo karlines/limSolve@HEAD
── R CMD build ──────────────────────────────────────────────────────────────────────────────────
✔  checking for file ‘/private/var/folders/8j/tnhwvfbd75s6fmckz74czth80000gn/T/Rtmp4F601v/remotes92212661aff6/karlines-limSolve-f5dd230/DESCRIPTION’ ...
─  preparing ‘limSolve’:
✔  checking DESCRIPTION meta-information
─  cleaning src
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘limSolve_2.0.1.tar.gz’
   
* installing *source* package ‘limSolve’ ...
** this is package ‘limSolve’ version ‘2.0.1’
** using staged installation
** libs
using C compiler: ‘Apple clang version 17.0.0 (clang-1700.0.13.5)’
sh: /opt/gfortran/bin/gfortran: No such file or directory
using SDK: ‘MacOSX15.4.sdk’
/opt/gfortran/bin/gfortran -arch x86_64  -fPIC  -Wall -g -O2  -c colrow.f -o colrow.o
make: /opt/gfortran/bin/gfortran: No such file or directory
make: *** [colrow.o] Error 1
ERROR: compilation failed for package ‘limSolve’
* removing ‘/Library/Frameworks/R.framework/Versions/4.5-x86_64/Resources/library/limSolve’
Warning message:
In i.p(...) :
  installation of package ‘/var/folders/8j/tnhwvfbd75s6fmckz74czth80000gn/T//Rtmp4F601v/file922157675329/limSolve_2.0.1.tar.gz’ had non-zero exit status

even with conda:

% conda install conda-forge::r-limsolve
Error while loading conda entry point: conda-libmamba-solver (dlopen(/opt/miniconda3/lib/python3.12/site-packages/libmambapy/bindings.cpython-312-darwin.so, 0x0002): Library not loaded: @rpath/libarchive.20.dylib
  Referenced from: <86B726C9-FCC5-36DD-AB39-C6469A27D6F8> /opt/miniconda3/lib/libmamba.2.0.0.dylib
  Reason: tried: '/opt/miniconda3/lib/libarchive.20.dylib' (no such file), '/opt/miniconda3/lib/python3.12/site-packages/libmambapy/../../../libarchive.20.dylib' (no such file), '/opt/miniconda3/lib/python3.12/site-packages/libmambapy/../../../libarchive.20.dylib' (no such file), '/opt/miniconda3/bin/../lib/libarchive.20.dylib' (no such file), '/opt/miniconda3/bin/../lib/libarchive.20.dylib' (no such file), '/usr/local/lib/libarchive.20.dylib' (no such file), '/usr/lib/libarchive.20.dylib' (no such file, not in dyld cache))

CondaValueError: You have chosen a non-default solver backend (libmamba) but it was not recognized. Choose one of: classic

could you help resolving this issue?

many many thanks

best
Tamer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions