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

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, 06-05-2026, 10:09 AM
                              0 responses
                              14 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-04-2026, 08:59 AM
                              0 responses
                              24 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-02-2026, 12:03 PM
                              0 responses
                              29 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-02-2026, 11:40 AM
                              0 responses
                              23 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...