Originally posted by dpryan
View Post
Seqanswers Leaderboard Ad
Collapse
Announcement
Collapse
No announcement yet.
X
-
Originally posted by GenoMax View PostLooks like your executable is correctly linked (same libraries as I see).
Are there files in your /usr/local/lib? On my server that directory is empty. I wonder if there are duplicate copies of "libz.*" there.
Here are what I did last night:
1. Replace " -D_CURSES_LIB=1" by " -D_CURSES_LIB=0" in line 4 of Makefile
2. Comment out "#LIBCURSES= -lcurses # -lXCurses" in Makefile.
3. I do have duplicate of "libz*" in /usr/local/lib/. And then replace the "/lib64/libz.so.1.2.3" by "/usr/local/bin/libz.so.1.2.8". Keep the /lib64/lib and /usr/local/lib/ directory like this.
Code:$ls -l /usr/local/lib/libz* -rw-r--r-- 1 root root 126318 Dec 18 12:47 /usr/local/lib/libz.a lrwxrwxrwx 1 root root 13 Dec 18 12:47 /usr/local/lib/libz.so.1 -> libz.so.1.2.8 -rwxr-xr-x 1 root root 99184 Dec 18 12:47 /usr/local/lib/libz.so.1.2.8 $ls -l /lib64/libz* lrwxrwxrwx 1 root root 13 Dec 19 09:42 /lib64/libz.so.1 -> libz.so.1.2.8 -rwxr-xr-x 1 root root 99184 Dec 19 09:41 /lib64/libz.so.1.2.8
Leave a comment:
-
Originally posted by GenoMax View PostLooks like your executable is correctly linked (same libraries as I see).
Are there files in your /usr/local/lib? On my server that directory is empty. I wonder if there are duplicate copies of "libz.*" there.
Leave a comment:
-
Looks like your executable is correctly linked (same libraries as I see).
Are there files in your /usr/local/lib? On my server that directory is empty. I wonder if there are duplicate copies of "libz.*" there.
Leave a comment:
-
Originally posted by GenoMax View PostSamtools is working for me (albeit on RH 6.5 which is probably not fully identical to CentOS).
Can you try to use only your mod #2 (i.e. do not use #1) along with commenting the LIBCURSES line out?
Post the output of
Code:$ ldd samtools
#2 + commenting LIBCURSES line, error reported as following when "make"
Code:make[1]: *** [samtools] Error 1 make[1]: Leaving directory `/home/wangming/Documents/samtools-0.1.19' make: *** [all-recur] Error 1
Code:$ldd samtools ./samtools: /lib64/libz.so.1: version `ZLIB_1.2.3.3' not found (required by ./samtools) linux-vdso.so.1 => (0x00007fffd0ef8000) libm.so.6 => /lib64/libm.so.6 (0x0000003b1a400000) libz.so.1 => /lib64/libz.so.1 (0x0000003547000000) libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003b1ac00000) libc.so.6 => /lib64/libc.so.6 (0x0000003b1a000000) /lib64/ld-linux-x86-64.so.2 (0x0000003b19c00000)
Leave a comment:
-
Samtools is working for me (albeit on RH 6.5 which is probably not fully identical to CentOS).
Can you try to use only your mod #2 (i.e. do not use #1) along with commenting the LIBCURSES line out?
Post the output of
Code:$ ldd samtools
Leave a comment:
-
Originally posted by GenoMax View PostI was able to compile on RedHat 6.5 by doing the following.
Keep your #2 modification.
Comment out "#LIBCURSES= -lcurses # -lXCurses" in Makefile.
"ncurses" library files are in /lib64 in my case. I also have libz.so.1.2.3.
compile is OK, but still report the error:
Code:$./samtools ./samtools: /lib64/libz.so.1: version `ZLIB_1.2.3.3' not found (required by ./samtools)
Leave a comment:
-
I was able to compile on RedHat 6.5 by doing the following.
Keep your #2 modification.
Comment out "#LIBCURSES= -lcurses # -lXCurses" in Makefile.
"ncurses" library files are in /lib64 in my case. I also have libz.so.1.2.3.
Leave a comment:
-
Yes, here are the content in /lib64/
Code:$ll /lib64/libz* lrwxrwxrwx 1 root root 13 Dec 17 23:39 /lib64/libz.so.1 -> libz.so.1.2.3 -rwxrwxrwx 1 root root 91096 Feb 22 2013 /lib64/libz.so.1.2.3
Leave a comment:
-
Originally posted by GenoMax View PostIf you do not have "zlib" installed then you would need to install that but if you do have zlib installed then it may be just be a matter of creating a soft-link for the library in /lib64:
Make sure zlib is installed
Code:$ rpm -qa | grep zlib
Code:$ ln -s /lib64/libz.so.1 /usr/lib/libz.so.1
Code:$rpm -qa |grep zlib zlib-devel-1.2.3-29.el6.x86_64 zlib-1.2.3-29.el6.x86_64 $file /usr/lib/libz.so.1 /usr/lib/libz.so.1: symbolic link to `/lib64/libz.so.1' $./samtools ./samtools: /lib64/libz.so.1: version `ZLIB_1.2.3.3' not found (required by ./samtools)
Leave a comment:
-
If you do not have "zlib" installed then you would need to install that but if you do have zlib installed then it may be just be a matter of creating a soft-link for the library in /lib64:
Make sure zlib is installed
Code:$ rpm -qa | grep zlib
Code:$ ln -s /lib64/libz.so.1 /usr/lib/libz.so.1
Leave a comment:
-
Error for samtools, `ZLIB_1.2.3.3` not found
Error:
Code:$./samtools: /lib64/libz.so.1: version `ZLIB_1.2.3.3' not found (required by ./samtools)
=========================
Thanks GenoMax for the help, samtools on my server is working.
Here are what I did.
1. Replace " -D_CURSES_LIB=1" by " -D_CURSES_LIB=0" in line 4 of Makefile
2. Comment out "#LIBCURSES= -lcurses # -lXCurses" in Makefile.
3. Delete the duplicate of "libz*" in /usr/local/lib/.
I replace the "/lib64/libz.so.1.2.3" by "/usr/local/bin/libz.so.1.2.8". Then result of /lib64/lib and /usr/local/lib/ directory like this:
Code:$ls -l /usr/local/lib/libz* -rw-r--r-- 1 root root 126318 Dec 18 12:47 /usr/local/lib/libz.a lrwxrwxrwx 1 root root 13 Dec 18 12:47 /usr/local/lib/libz.so.1 -> libz.so.1.2.8 -rwxr-xr-x 1 root root 99184 Dec 18 12:47 /usr/local/lib/libz.so.1.2.8 $ls -l /lib64/libz* lrwxrwxrwx 1 root root 13 Dec 19 09:42 /lib64/libz.so.1 -> libz.so.1.2.8 -rwxr-xr-x 1 root root 99184 Dec 19 09:41 /lib64/libz.so.1.2.8
system info: CentOS 6.3
Code:$head -n 1 /etc/issue CentOS release 6.3 (Final) $uname -a Linux ***** 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Error 1:
Code:$make .... collect2: ld returned 1 exit status make[1]: *** [samtools] Error 1 make[1]: Leaving directory `/home/wangming/Documents/samtools-0.1.19' make: *** [all-recur] Error 1
1. Add the "-L/usr/local/lib -I/usr/include/ncurses" to end of line-2 of Makefile under directory of /samtools-0.1.19.
before:
Code:CFLAGS= -g -Wall -O2
Code:CFLAGS= -g -Wall -O2 -L/usr/local/lib -I/usr/include/ncurses #
before
Code:DFLAGS= -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1
Code:DFLAGS= -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=0
Latest Articles
Collapse
-
by seqadmin
The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...-
Channel: Articles
11-06-2024, 07:24 PM -
-
by seqadmin
Next-generation sequencing (NGS) and quantitative polymerase chain reaction (qPCR) are essential techniques for investigating the genome, transcriptome, and epigenome. In many cases, choosing the appropriate technique is straightforward, but in others, it can be more challenging to determine the most effective option. A simple distinction is that smaller, more focused projects are typically better suited for qPCR, while larger, more complex datasets benefit from NGS. However,...-
Channel: Articles
10-18-2024, 07:11 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, Today, 11:09 AM
|
0 responses
23 views
0 likes
|
Last Post
by seqadmin
Today, 11:09 AM
|
||
Started by seqadmin, Today, 06:13 AM
|
0 responses
20 views
0 likes
|
Last Post
by seqadmin
Today, 06:13 AM
|
||
Started by seqadmin, 11-01-2024, 06:09 AM
|
0 responses
30 views
0 likes
|
Last Post
by seqadmin
11-01-2024, 06:09 AM
|
||
New Model Aims to Explain Polygenic Diseases by Connecting Genomic Mutations and Regulatory Networks
by seqadmin
Started by seqadmin, 10-30-2024, 05:31 AM
|
0 responses
21 views
0 likes
|
Last Post
by seqadmin
10-30-2024, 05:31 AM
|
Leave a comment: