Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • BLAT installtation problem

    Hi,

    I am trying to install BLAT. But I encounter a probelm I cannot find solution online.
    I got a error message like below:
    make[1]: Entering directory `/home/joinet/software/blatSrc/blat'
    gcc -O -g -Wall -Wformat -Wimplicit -Wreturn-type -Wuninitialized -o /home/joinet/bin/x86_64/blat blat.o ../lib/x86_64/jkOwnLib.a ../lib/x86_64/jkweb.a -pthread -lpng -lm
    /usr/bin/ld: cannot find -lpng
    collect2: ld 回傳 1
    make[1]: *** [blat] Error 1
    make[1]: Leaving directory `/home/joinet/software/blatSrc/blat'
    make: *** [all] Error 2

    Do anyone tell me how can I fix this probelm?
    Thanks.

    Chih-Ming

  • #2
    You have not said what operating system you are installing blat on (is this cygwin on windows) but I am going to guess that the "-lpng" is referring to this library http://swapped.cc/#!/lpng. You can find the download link at the bottom of the page.

    Comment


    • #3
      Hi

      Thank you for information.
      I am installing BLAT in 64-bit linux system with Ubuntu 12.
      Does lpng also work in linux or is there a similar library for linux?

      Comment


      • #4
        For ubuntu you can install the "libpng" package. https://launchpad.net/ubuntu/precise/+source/libpng

        You should be able to use the package manager or do the apt-get install.

        Comment


        • #5
          I downloaded the libpng and installed it under /usr/local.
          But when I install the BlatSrc and the same error message showed up.
          I think the error occured wheh it try to run the makefile in the blat folder.
          But when I looked this makefile, I could not fine any text spefiying -lpng.

          What can be the problem?
          Thanks,

          Comment


          • #6
            Be sure to install the corresponding header files, e.g. for libpng12 -> libpng12-dev

            Comment


            • #7
              The author of Blat, JIm Knet, just made a updated common.mk file under the inc folder. The new common.mk gets rid of the ependency on libpng. So, now I can install Blat without install libpng. I believe Jim will put the update version in his website soon.
              Thank you for all your help.

              Comment


              • #8
                I'm having the same problem. I can't find the file common.mk on Jim Kent's webpage. Perhaps you could find it again and post the link?

                Thanks

                Comment


                • #9
                  My apologies I posted the previous post a bit hastily. I found the common.mk file and altered it as described here http://defsci.blogspot.com/2011/02/c...untu-1004.html

                  But when I ran make again I get this error again:

                  make[1]: *** [blat] Error 1
                  make[1]: Leaving directory `/home/Downloads/blatSrc/blat'
                  make: *** [all] Error 2

                  However, the make function ran longer than it ever has!

                  I'm using ubuntu 64 bit

                  any ideas?

                  Comment


                  • #10
                    Originally posted by jevins28 View Post
                    My apologies I posted the previous post a bit hastily. I found the common.mk file and altered it as described here http://defsci.blogspot.com/2011/02/c...untu-1004.html

                    But when I ran make again I get this error again:

                    make[1]: *** [blat] Error 1
                    make[1]: Leaving directory `/home/Downloads/blatSrc/blat'
                    make: *** [all] Error 2

                    However, the make function ran longer than it ever has!

                    I'm using ubuntu 64 bit

                    any ideas?
                    Have you tried "make clean" followed by another try at "make" with the new common.mk file in place?

                    Comment

                    Latest Articles

                    Collapse

                    • seqadmin
                      Current Approaches to Protein Sequencing
                      by seqadmin


                      Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                      04-04-2024, 04:25 PM
                    • seqadmin
                      Strategies for Sequencing Challenging Samples
                      by seqadmin


                      Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                      03-22-2024, 06:39 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by seqadmin, 04-11-2024, 12:08 PM
                    0 responses
                    30 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 04-10-2024, 10:19 PM
                    0 responses
                    32 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 04-10-2024, 09:21 AM
                    0 responses
                    28 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 04-04-2024, 09:00 AM
                    0 responses
                    52 views
                    0 likes
                    Last Post seqadmin  
                    Working...
                    X