Error In Samtool Installation Through Cygwin
1
0
Entering edit mode
12.3 years ago
Nasrin ▴ 30

I'm trying to install a samtool through cygwin on windows.I moved installation files to the folder with the makefile . when I try to make the files, it gives me this error:

$ make

make[1]: Entering directory `/home/Nasrin/samtool'

make[2]: Entering directory `/home/Nasrin/samtool'

gcc -c -g -Wall -O2 -DFILEOFFSETBITS=64 -DUSEKNETFILE -DCURSES_LIB=1 -I. bgzf.c -o bgzf.o

/usr/lib/gcc/i686-pc-cygwin/4.5.3/cc1.exe: error while loading shared libraries: cygz.dll: cannot open shared object file: No such file or directory

Makefile:20: recipe for target `bgzf.o' failed

make[2]: * [bgzf.o] Error 1 make[2]: Leaving directory `/home/Nasrin/samtool'

Makefile:23: recipe for target `lib-recur' failed

make[1]: * [lib-recur] Error 1

make[1]: Leaving directory `/home/Nasrin/samtool'

Makefile:23: recipe for target `all-recur' failed

make: * [all-recur] Error 1

thanks for any advice on this problem.

samtools • 7.0k views
ADD COMMENT
0
Entering edit mode

If installing through cygwin is not a specific requirement, you can try installing the windows port for samtools: http://bow.codeplex.com/. This is probably a lot easier.

ADD REPLY
0
Entering edit mode

but exe files do not execute in win32 !

ADD REPLY
1
Entering edit mode

Hi, Nasrin, that is correct it won't run under 32 bit windows. Because 32 bit OS limit the memory you can have thus making these tools less useful (especially for BWA etc.) Also today 64 bit is the default for Windows, even very cheap range laptop has 64 bit installation. So maybe you could consider using a 64 bit windows for your work?

Samtools under cygwin is very buggy, because that's another layer on top of Linux Glibc and Windows C runtime library.

Best,

dong

ADD REPLY
0
Entering edit mode
12.3 years ago

In your cygwin root filesystem there should be a copy of cygz.dll in /bin. If there is not, you have maybe one of two issues. First, the output of echo $PATH should include the /bin directory. If not, then read up on setting your user's $PATH environment variable. Otherwise, it looks like you might need to run the cygwin installer again and select "repair", or re-install the base system.

ADD COMMENT
0
Entering edit mode

i have cygz.dll in cygwin root filesystem and i have installed and even downloaded cygwin with all its dependencies again!

ADD REPLY

Login before adding your answer.

Traffic: 2331 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6