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

libboost 1.57 #91

Open
lfaller opened this issue Mar 25, 2016 · 7 comments
Open

libboost 1.57 #91

lfaller opened this issue Mar 25, 2016 · 7 comments

Comments

@lfaller
Copy link

lfaller commented Mar 25, 2016

Hi all,

I got the following error message when running sailfish:

/home/qiime/local/bin/sailfish index -p 1 -t /home/qiime/bioinfohd1/freire_lab/neutrophil_project/small_example/input/h_vs_td2_small-merged/work/sailfish/16_D/index/GRCh37/GRCh37.fa -o /home/qiime/bioinfohd1/freire_lab/neutrophil_project/small_example/input/h_vs_td2_small-merged/work/sailfish/16_D/index/tx/tmp8z4XtN/GRCh37 -k 25

/home/qiime/local/bin/sailfish: error while loading shared libraries: libboost_iostreams.so.1.57.0: cannot open shared object file: No such file or directory
' returned non-zero exit status 127

I have the following versions of libboost installed:

$> locate libboost_iostreams
/home/lfaller/local/share/bcbio/anaconda/lib/libboost_iostreams.so
/home/lfaller/local/share/bcbio/anaconda/lib/libboost_iostreams.so.1.60.0
/home/lfaller/local/share/bcbio/anaconda/pkgs/boost-1.60.0-py27_0/lib/libboost_iostreams.so
/home/lfaller/local/share/bcbio/anaconda/pkgs/boost-1.60.0-py27_0/lib/libboost_iostreams.so.1.60.0
/usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.54.0

I believe 1.60 is the most recent version. Does sailfish not support that?
I am running Ubuntu 14.04.3 LTS (trusty) and I'm not seeing 1.57 in the list of available packages (http://packages.ubuntu.com/search?suite=trusty&arch=any&searchon=names&keywords=libboost-system).

Any suggestion you might have is much appreciated!

Best,
~Lina

@rob-p
Copy link
Collaborator

rob-p commented Mar 25, 2016

Hi Lina,

Sailfish should be compatible with the most recent version of Boost (it just requires a version >= 1.54). However, the problem here seems to be that it was built against 1.57, which it's looking for explicitly, and it's only able to find 1.60. Could you tell me what version of Sailfish you're using, and if it was compiled from source or installed as a pre-compiled binary? I ask because we've been building the pre-compiled binaries with static linking for a while now to avoid just this type of issue.

Best,
Rob

@lfaller
Copy link
Author

lfaller commented Mar 26, 2016

Hi Rob,

Thanks for your quick reply!

I installed sailfish as part of bcbio-nextgen (https://github.com/chapmanb/bcbio-nextgen) so I'm not sure how the install actually worked (maybe @roryk or @lpantano might know?)

Checking for the version doesn't seem to work on my system at this stage:

/home/qiime/local/bin/sailfish --version
/home/qiime/local/bin/sailfish: error while loading shared libraries: libboost_iostreams.so.1.57.0: cannot open shared object file: No such file or directory

Would you recommend that reinstalling one of the compiled binaries is the way to go?

Thanks a bunch!

@lpantano
Copy link

Hi @lfaller,

I think you need to ping https://github.com/bioconda/bioconda-recipes. Maybe is an easy problem of just updating the build or the package.

I guess this happened after an update? If not, I would try to update everything again.

I will try to investigate as well!

@roryk
Copy link

roryk commented Mar 27, 2016

In the bioconda formula we tried to remove downloading boost and dynamically link to the bioconda boost, but I guess it ended up linking to a specific version of boost. I tried to swap it to statically linked to the bioconda boost, but no combination of -DBOOST_INCLUDEDIR and -DBOOST_LIBDIR would find boost. I'm testing just statically linking it now to the Sailfish/Salmon downloaded boost.

@lfaller
Copy link
Author

lfaller commented Mar 30, 2016

Thanks for all the help!

@lpantano, I ran the update command and got the following:

./bcbio_conda update bcbio-nextgen
Fetching package metadata: ....
# All requested packages already installed.
# packages in environment at /home/lfaller/local/share/bcbio/anaconda:
#
bcbio-nextgen             0.9.6                    py27_0    bioconda

So it looks like I'm already using the most recent version.

@lpantano
Copy link

As @roryk discovered, you can install the previous version: path_to_bcbio_anaconda_bin/conda install boost=1.57.0 -c bioconda and should work this way. I think we were implementing that in the installation but this should get you ready to work again.

@lfaller
Copy link
Author

lfaller commented Mar 30, 2016

Thanks @lpantano, I think this did the trick! Much appreciated!

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

4 participants