ryantibs / best-subset

Comparisons between best subset selection and other popular sparse regression estimators
GNU General Public License v2.0
86 stars 35 forks source link

Unable to Install in Debian 8 #2

Closed DarioS closed 7 years ago

DarioS commented 7 years ago

It seems that the shared object has been created on another operating system and is not compatible with the operating system which I'm using.

* installing *source* package ‘bestsubset’ ...
** libs
make: Nothing to be done for 'all'.
installing to /dskh/nobackup/biostat/Bioconductor/bestsubset/libs
** R
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error: package or namespace load failed for ‘bestsubset’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/dskh/nobackup/biostat/Bioconductor/bestsubset/libs/bestsubset.so':
  /dskh/nobackup/biostat/Bioconductor/bestsubset/libs/bestsubset.so: invalid ELF header

The operating system's details are:

Distributor ID: Debian
Description:    Debian GNU/Linux 8.9 (jessie)
Release:        8.9
Codename:       jessie

How about improving the README file? It has barely any instructions or details about which platforms best-subset works on.

ryantibs commented 7 years ago

I removed the so and o files from the src folder. They shouldn't be there (they are a result of R's compilation process). You can try reinstalling now.

On Mon, Aug 14, 2017 at 2:00 AM, Dario Strbenac notifications@github.com wrote:

It seems that the shared object has been created on another operating system and is not compatible with the operating system which I'm using.

  • installing source package ‘bestsubset’ ... libs make: Nothing to be done for 'all'. installing to /dskh/nobackup/biostat/Bioconductor/bestsubset/libs R preparing package for lazy loading help * installing help indices building package indices ** testing if installed package can be loaded Error: package or namespace load failed for ‘bestsubset’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/dskh/nobackup/biostat/Bioconductor/bestsubset/libs/bestsubset.so': /dskh/nobackup/biostat/Bioconductor/bestsubset/libs/bestsubset.so: invalid ELF header

The operating system's details are:

Distributor ID: Debian Description: Debian GNU/Linux 8.9 (jessie) Release: 8.9 Codename: jessie

How about improving the README file? It has barely any instructions or details about which platforms best-subset works on.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ryantibs/best-subset/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AAstfZWqIQSOcGrZVsf-pH2Ytj7hRGbRks5sX-JogaJpZM4O1-IL .

DarioS commented 7 years ago

Installation of bestsubset completed successfully.