Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xtract command: can not execute binary file #100

Closed
nkuperwasser opened this issue Feb 1, 2020 · 5 comments
Closed

xtract command: can not execute binary file #100

nkuperwasser opened this issue Feb 1, 2020 · 5 comments

Comments

@nkuperwasser
Copy link

Hello, I have followed all the steps in the handbook guide (downloaded everything new on Jan 31 2020), activated the bioinfo environment, installed the components according to the Handbook website, and checked that the paths are correct. The entrez-direct utilities all work fine after installation (esearch, efetch, etc etc), excpet for the xtract command. I ran an update on the entrez-direct package as well and still get the same error. Is there something that I am missing? I have been looking through some of the other forums and there may be an issue with the file architecture, and when I did: $file xtract, I got the following details:

xtract: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=PFsOSZjKx4OrmHD5Bwmu/zGzoYroadHkNaH3o3Csi/zAL6g_Cnn3klIv6NBUiS/swsm8RmHeMFF5ZTvvS-e, not stripped

I don't know what all that means, but it appears as it's an executable file, but apparently it can not run....

I am running on macOS Catalina, Intel core i9

Thanks!

NK

@ialbert
Copy link
Member

ialbert commented Feb 1, 2020

This sounds like a packaging error with conda, the xtract program used to be written in perl where the architecture did not matter. The latest version is written in GO and it seems it conflicts with Catalina.

This may take a bit to resolve at the packaging level, for now you can do a:

conda install entrez-direct=10.2 

to use the previous working version

@ialbert
Copy link
Member

ialbert commented Feb 1, 2020

@ialbert
Copy link
Member

ialbert commented Feb 1, 2020

Another quick and dirty fix is to do:

curl https://ftp.ncbi.nlm.nih.gov/entrez/entrezdirect/xtract.Darwin > `which xtract`

this will rewrite your copy of xtract with the correct version

@nkuperwasser
Copy link
Author

Great, thank you very much...the last "quick and dirty fix" using the curl worked (and tested from the example of the Handbook section). Will need to learn more about xtract to check other things in the future, but looks like it's working.

Sincerely

NK

@ialbert
Copy link
Member

ialbert commented Feb 3, 2020

The packaging error has been corrected in bioconda.

New installations should now work.

@ialbert ialbert closed this as completed Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants