SEQanswers

Go Back   SEQanswers > Bioinformatics > Bioinformatics



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help for installing Bioperl on RedHat, CPAN shell problem ketan_bnf Bioinformatics 19 08-24-2012 07:25 AM
Ion Torrent PGM data with Mosaik-aligner Magnus Bioinformatics 0 05-19-2011 03:59 AM
Mosaik-aligner for SNP detection, Need Help. ketan_bnf Bioinformatics 2 12-22-2010 09:17 PM
Powerful PC for MOSAIK aligner? neni Bioinformatics 4 04-30-2010 02:45 AM
Mosaik Aligner problem with SOLiD sequences g_solid Bioinformatics 0 02-07-2010 05:30 PM

Reply
 
Thread Tools
Old 03-17-2011, 07:04 AM   #1
joachim.jacob
Junior Member
 
Location: Belgium

Join Date: Jan 2011
Posts: 9
Default mosaik-aligner installation problem on redhat 6

Hi,

I have downloaded the Mosaik-1.1.0021-source.tar.bz2 on our RedHat6 64 bit system. When running 'make' in the src directory, errors occur. Dependencies (gcc-c++, zlib, zlib-devel) have caused the some of the errors, but now I am stuck.

Anybody to put me on the right track?

Code:
$ make
Building MOSAIK for the following platform: linux
=========================================================
- Building in CommonSource
- Building in AssemblyFormats
make[2]: Nothing to be done for `all'.

- Building in DataStructures
make[2]: Nothing to be done for `all'.

- Building in ExternalReadFormats
make[2]: Nothing to be done for `all'.

- Building in MosaikReadFormat
make[2]: Nothing to be done for `all'.

- Building in PairwiseAlignment
make[2]: Nothing to be done for `all'.

- Building in Utilities
make[2]: Nothing to be done for `all'.


- Building in MosaikBuild
  * linking MosaikBuild
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make[1]: *** [MosaikBuild] Error 1

- Building in MosaikAligner
  * linking MosaikAligner
/usr/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status
make[1]: *** [MosaikAligner] Error 1

- Building in MosaikSort
  * linking MosaikSort
/usr/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status
make[1]: *** [MosaikSort] Error 1

- Building in MosaikMerge
  * linking MosaikMerge
/usr/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status
make[1]: *** [MosaikMerge] Error 1

- Building in MosaikAssembler
  * linking MosaikAssembler
/usr/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status
make[1]: *** [MosaikAssembler] Error 1
Thanks in advance!
joachim.jacob is offline   Reply With Quote
Old 03-17-2011, 06:36 PM   #2
Thomas Doktor
Senior Member
 
Location: University of Southern Denmark (SDU), Denmark

Join Date: Apr 2009
Posts: 105
Default

Look here for a solution to "-lpthread": http://www.justlinux.com/forum/showthread.php?t=126349

"-lz" is the zlib which you have installed. Is the Mosaik buildprocess looking in the right folder?

You can always just google "/usr/bin/ld: cannot find lpthreads" (or whatever library it's missing) for these kinds of things.
Thomas Doktor is offline   Reply With Quote
Old 03-18-2011, 01:35 AM   #3
joachim.jacob
Junior Member
 
Location: Belgium

Join Date: Jan 2011
Posts: 9
Default Sorry, I can't solve the problem

Hi,

Thanks for your suggestion to google: that is a new approach.

zlib is installed, but I am not sure about lpthreads.

I am learning now about 'ldconfig': apparently this is used to create links to the most up-to-date libraries. Perhaps I should pass a parameter over there.

Quitting mosaik for now.
joachim.jacob is offline   Reply With Quote
Old 02-01-2012, 05:22 PM   #4
austic
Member
 
Location: Denver, CO, USA

Join Date: Mar 2011
Posts: 11
Default library issue (to some extent)

I am having the same problem. ("/usr/bin/ld: cannot find -lpthread")
upgraded my glibc using the add/remove software interface (awesome!) worked great
then, like you i got the "/usr/bin/ld: cannot find -lz" error
came across this:
http://stackoverflow.com/questions/3...cannot-find-lz
which would seem to suggest there's something wrong with the Makefile.in
However, I looked through several of the Makefile.in and header files for each of the modules and couldn't find anything overtly wrong (plus, i highly doubt the author would release it if it didn't compile). So I started looking around some more and found this:
http://linux.digitalsp.com/2007/12/c...t-find-lz.html
i went to my add/remove software interface and searched for zlib1g-dev but couldn't find any package named that, however i *did* find several packages with "zlib" included in the name. so i downloaded them all:
mingw32-zlib
perl-IO-Zlib (<--- this was probably the one)
perl-Archive-Tar
mingw32-zlib-static
jzlib
jzlib-javadoc
zlib-static (<-- or maybe this one)
jzlib-demo

and then the code would compile
austic is offline   Reply With Quote
Old 03-07-2013, 07:58 AM   #5
PRoebuck
Junior Member
 
Location: Houston, TX

Join Date: Mar 2013
Posts: 1
Default

RHEL 6.0

I got source distribution to compile/link by modifying the 'includes/linux.inc' as follows:

# define our processor specific flags
export PLATFORM_FLAGS = -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -static
export PLATFORM_LIBS = -L/usr/lib/x86_64-redhat-linux5E/lib64

Determine library location (PLATFORM_LIBS) with command:
$ find /usr/lib -name "*pthread*"

Needs an exact match to 'libpthread.a".

The GNU_SOURCE define solved linker error for MosaikAlign complaint about C99 version of fscanf().
PRoebuck is offline   Reply With Quote
Old 05-10-2013, 08:36 AM   #6
Carlos Borroto
Member
 
Location: Baltimore, MD

Join Date: Mar 2011
Posts: 19
Default

Quote:
Originally Posted by austic View Post
zlib-static (<-- or maybe this one)
I was also hit by this issue. I'm using CentOS 6.4. With the help of this thread I was able to solve it by installing these two packages:
Code:
sudo yum install zlib-static glibc-static
No need to modify any source files in my case.

Best,
Carlos
Carlos Borroto is offline   Reply With Quote
Reply

Tags
compilation, error, install, mosaik

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -8. The time now is 12:06 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO