Trinity compile failed

195 views
Skip to first unread message

Kai

unread,
Apr 29, 2016, 7:59:20 AM4/29/16
to trinityrnaseq-users
Hi guys,

I got this error message while compiling Trinity:


make[2]: Leaving directory `/home/fengk/pasa/trinityrnaseq-2.2.0/trinity-plugins/htslib'

cd scaffold_iworm_contigs && make

make[2]: Entering directory `/home/fengk/pasa/trinityrnaseq-2.2.0/trinity-plugins/scaffold_iworm_contigs'

g++  -I../htslib -L../htslib ScaffoldIwormContigs.cpp error_checker.cpp -lhts -o scaffold_iworm_contigs

../htslib/libhts.so: undefined reference to `compressBound@ZLIB_1.2.0'

../htslib/libhts.so: undefined reference to `gzungetc@ZLIB_1.2.0.2'

collect2: ld returned 1 exit status

make[2]: *** [ScaffoldIwormContigs] Error 1

make[2]: Leaving directory `/home/fengk/pasa/trinityrnaseq-2.2.0/trinity-plugins/scaffold_iworm_contigs'

make[1]: *** [scaffold_iworm_contigs_target] Error 2

make[1]: Leaving directory `/home/fengk/pasa/trinityrnaseq-2.2.0/trinity-plugins'

make: *** [trinity_essentials] Error 2



What I see here is something wrong while compiling scaffold_iworm_contigs, I am new bioinformatics and have very very limited knowledge to C and C++, so any one can tell me how can I solve this problem?


Thanks,


Kai

Kai

unread,
Apr 29, 2016, 8:14:30 AM4/29/16
to trinityrnaseq-users
forget to mention, my linux distribution is RHEL 6.

在 2016年4月29日星期五 UTC+8下午7:59:20,Kai写道:

Fulton, Ben

unread,
Apr 29, 2016, 8:41:30 AM4/29/16
to Kai, trinityrnaseq-users

There appears to be an inconsistency in your system between the zlib header files and the zlib libraries. Are you able to do

 

sudo apt-get install zlib1g-dev

 

Otherwise, simply “make clean” and “make plugins” may fix it.

 

--

Ben Fulton

Research Technologies

Scientific Applications and Performance Tuning

Indiana University

E-Mail: befu...@iu.edu

--
You received this message because you are subscribed to the Google Groups "trinityrnaseq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trinityrnaseq-u...@googlegroups.com.
To post to this group, send email to trinityrn...@googlegroups.com.
Visit this group at https://groups.google.com/group/trinityrnaseq-users.
For more options, visit https://groups.google.com/d/optout.

Kai

unread,
Apr 29, 2016, 9:13:27 AM4/29/16
to trinityrnaseq-users, fk1...@gmail.com
well, Ben, thank you for your respond, I did the step make plugins and when I get to the sample_data folder run the runME.sh, I still got errors, has this step any relationship with using Trinity, or I could just ignore this step and use Trinity properly.

Thanks again,

Kai

在 2016年4月29日星期五 UTC+8下午8:41:30,Ben Fulton写道:

To unsubscribe from this group and stop receiving emails from it, send an email to trinityrnaseq-users+unsub...@googlegroups.com.

Fulton, Ben

unread,
Apr 29, 2016, 10:09:12 AM4/29/16
to Kai, trinityrnaseq-users

To unsubscribe from this group and stop receiving emails from it, send an email to trinityrnaseq-u...@googlegroups.com.


To post to this group, send email to trinityrn...@googlegroups.com.
Visit this group at https://groups.google.com/group/trinityrnaseq-users.
For more options, visit https://groups.google.com/d/optout.

--

You received this message because you are subscribed to the Google Groups "trinityrnaseq-users" group.

To unsubscribe from this group and stop receiving emails from it, send an email to trinityrnaseq-u...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages