Unconfigured Ad

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

    #1

    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

                    • SEQadmin2
                      Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
                      by SEQadmin2



                      Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

                      Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
                      ...
                      10-14-2026, 09:55 AM
                    • SEQadmin2
                      New Genomics Technologies Take Aim at Long-Standing Limits
                      by SEQadmin2


                      Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

                      We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
                      ...
                      09-28-2026, 10:25 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 10-15-2026, 10:52 AM
                    0 responses
                    26 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-14-2026, 05:39 AM
                    0 responses
                    33 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-13-2026, 09:56 AM
                    0 responses
                    31 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-09-2026, 11:14 AM
                    0 responses
                    28 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...