Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ymwur
    Member
    • Nov 2012
    • 11

    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
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #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

    • ymwur
      Member
      • Nov 2012
      • 11

      #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

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #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

        • ymwur
          Member
          • Nov 2012
          • 11

          #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

          • sklages
            Senior Member
            • May 2008
            • 628

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

            Comment

            • ymwur
              Member
              • Nov 2012
              • 11

              #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

              • jevins28
                Junior Member
                • Nov 2012
                • 2

                #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

                • jevins28
                  Junior Member
                  • Nov 2012
                  • 2

                  #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

                  • GenoMax
                    Senior Member
                    • Feb 2008
                    • 7142

                    #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

                    • 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
                    • SEQadmin2
                      Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                      by SEQadmin2


                      I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                      Here are nine questions we think about, in roughly the order they matter, before...
                      06-18-2026, 07:11 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, Yesterday, 11:08 AM
                    0 responses
                    7 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-30-2026, 05:37 AM
                    0 responses
                    11 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-26-2026, 11:10 AM
                    0 responses
                    19 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-17-2026, 06:09 AM
                    0 responses
                    53 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...