+
Skip to content

install bwa 0.7.17 in alpine docker image #353

@cmccabe0728

Description

@cmccabe0728

I am trying to install bwa 0.7.17 in alpine:3.15.4. I am reading issue PR275 which if I am reading correctly I need to replace the makefile in the install directory with the makefile from github? Or is there something else? Thank you :).

 https://github.com/lh3/bwa/issues/275

/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./libbwa.a(rope.o):/home/ec2
-user/bwa-0.7.17/rle.h:33: multiple definition of `rle_auxtab'; ./libbwa.a(bwtindex.o):/home/ec2-user/bwa-0.7.17/rle.h
:33: first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./libbwa.a(rle.o):/home/ec2-
user/bwa-0.7.17/rle.h:33: multiple definition of `rle_auxtab'; ./libbwa.a(bwtindex.o):/home/ec2-user/bwa-0.7.17/rle.h:
33: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:30: bwa] Error 1

Post also suggest adding two lines to the docker might help:

sed -i 's/a\/rle.h//' makefile
sed -i 's/b\/rle.h//' makefile

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载