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

                    • mylaser
                      Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                      by mylaser
                      Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
                      If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
                      This guide explains everything you need to know about...
                      Yesterday, 01:13 AM
                    • 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.
                      ...
                      07-09-2026, 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...
                      07-08-2026, 05:17 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 07-09-2026, 10:04 AM
                    0 responses
                    20 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-08-2026, 10:08 AM
                    0 responses
                    12 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-07-2026, 11:05 AM
                    0 responses
                    30 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...