Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Aholton
    Member
    • Jul 2012
    • 23

    Boost library error, running Tophat

    Been fighting with Tophat installation and finally got everything setup (I think). Then I get an error about Boost (which I had the most problems with due to permissions being denied). This is the error I get at the end of the run

    Error: segment-based junction search failed with err =127
    /usr/local/bin/segment_juncs: error while loading shared libraries: libboost_thread.so.1.50.0: cannot open shared object file: No such file or directory

    Not sure what I need to move from the Boost libraries. Was hoping ya'll could help me out a bit.

    Thanks!
  • alec
    Member
    • Apr 2011
    • 18

    #2
    Either that file does not exist or it is not on your library search path. Assuming it exists (it will normally be in boost/lib), the easiest way to change your library search path is:

    LD_LIBRARY_PATH=/path/to/boost/lib:$LD_LIBRARY_PATH

    Comment

    • Aholton
      Member
      • Jul 2012
      • 23

      #3
      Thanks for the quick response, I have Tophat, Boost, bowtie2, and samtools all located within my /usr/local folder, i installed them all from there and have all the libraries set to default (/usr/local/bin or /usr/local/lib)

      I entered the command you typed to re assert that the libraries were in /usr/local/lib. I even went into the folder (/usr/local/lib) and saw that it had numerous libboost files in it.

      I don't know if it was an error on the boost libraries fault or if Tophat can't find the libraries cause of a Tophat installation error

      Comment

      • alec
        Member
        • Apr 2011
        • 18

        #4
        I think you need to do "export LD_LIBRARY_PATH" as well to make it visible to tophat

        Comment

        • Aholton
          Member
          • Jul 2012
          • 23

          #5
          Error: segment-based junction search failed with err =127
          /usr/local/bin/segment_juncs: error while loading shared libraries: libboost_thread.so.1.50.0: cannot open shared object file: No such file or directory


          I tried to use your new command and it still came up with that error. I know in the lib folder there is that libboost_thread.so.1.50.0 file. I just don't know why it's acting up all the sudden.

          Comment

          • Aholton
            Member
            • Jul 2012
            • 23

            #6
            Nevermind everyone! The export command worked, I was really exhausted when I tried to fix one of the servers using the export command but I was using it in the wrong server (silly me). Thank you for your quick response time.

            Hopefully soon I'll be making some guides based on my experiences with doing Bioinformatics so that the field can grow and attract more attention from undergrads looking to specialize.

            Comment

            • owwa
              Member
              • Jul 2012
              • 23

              #7
              Hi Aholton,

              I encountered the same error. Could you please share your detailed way to solve this? Thank.

              Comment

              • owwa
                Member
                • Jul 2012
                • 23

                #8
                I do "export PATH=$PATH:/usr/local/lib", but it don't work.

                The file "libboost_thread.so.1.50.0" is also located in /usr/local/lib for me.

                Comment

                • Aholton
                  Member
                  • Jul 2012
                  • 23

                  #9
                  LD_LIBRARY_PATH=/path/to/boost/lib:$LD_LIBRARY_PATH

                  Try typing that command, the "/path/to/boost/lib" for you would be "/usr/local/lib". The only other thing I can think that I did differently was release some of the permissions on the files because Boost was messing up. By that I mean that I changed permissions to read and write for all boost related files (either done through a GUI ftp service or through the command chmod ug+rwx <name_of_file>.

                  Comment

                  • owwa
                    Member
                    • Jul 2012
                    • 23

                    #10
                    Originally posted by Aholton View Post
                    LD_LIBRARY_PATH=/path/to/boost/lib:$LD_LIBRARY_PATH

                    Try typing that command, the "/path/to/boost/lib" for you would be "/usr/local/lib". The only other thing I can think that I did differently was release some of the permissions on the files because Boost was messing up. By that I mean that I changed permissions to read and write for all boost related files (either done through a GUI ftp service or through the command chmod ug+rwx <name_of_file>.
                    Many thanks! Aholton

                    but the problem is still here. Actually, i don't know what "all boost related files" are. Could you please tell me the exact files or files folder?

                    Comment

                    • owwa
                      Member
                      • Jul 2012
                      • 23

                      #11
                      The error showed that libboost_thread.so.1.50.0: cannot open shared object file, I also don't know what the "shared object file" is.

                      Comment

                      • Aholton
                        Member
                        • Jul 2012
                        • 23

                        #12
                        That means it's still not recognizing it, sorry it took so long to respond. Had to make an emergency trip to CDC.

                        All boost related files are all the files within the Boost folder with all the files in it (including the libraries".lib files"). I had some problems with permissions the first time I did it.

                        Did you run boostrap.sh or did you simply run bjam?

                        Comment

                        • owwa
                          Member
                          • Jul 2012
                          • 23

                          #13
                          Many thanks! I'm a newer for tophat, just need the boost library files, I think I just symply run bjam. The error had dispeared, I had some problems with permissions too. Thank you again...

                          Comment

                          • Aholton
                            Member
                            • Jul 2012
                            • 23

                            #14
                            No problem! If you need anything else feel free to private message me

                            Comment

                            • super0925
                              Senior Member
                              • Feb 2014
                              • 206

                              #15
                              Originally posted by Aholton View Post
                              LD_LIBRARY_PATH=/path/to/boost/lib:$LD_LIBRARY_PATH

                              Try typing that command, the "/path/to/boost/lib" for you would be "/usr/local/lib". The only other thing I can think that I did differently was release some of the permissions on the files because Boost was messing up. By that I mean that I changed permissions to read and write for all boost related files (either done through a GUI ftp service or through the command chmod ug+rwx <name_of_file>.
                              Hi How do you solve the error?
                              I type "LD_LIBRARY_PATH=/path/to/boost/lib:$LD_LIBRARY_PATH" but it still get the error. And meanwhile I have got the output, e.g. accepted_hits.bam and the align_summart.txt, are they reliable?

                              Comment

                              Latest Articles

                              Collapse

                              • SEQadmin2
                                Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                                by SEQadmin2


                                Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.

                                Probing...
                                Today, 11:10 AM
                              • SEQadmin2
                                Cancer Drug Resistance: The Lingering Barrier to Rising Survival
                                by SEQadmin2



                                Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

                                There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
                                Yesterday, 05:17 AM
                              • GATTACAT
                                Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                                by GATTACAT
                                Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                                07-01-2026, 11:43 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, Today, 10:04 AM
                              0 responses
                              7 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, Yesterday, 10:08 AM
                              0 responses
                              6 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-07-2026, 11:05 AM
                              0 responses
                              9 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-02-2026, 11:08 AM
                              0 responses
                              31 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...