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
                      Non-Coding RNA Research and Technologies
                      by seqadmin




                      Non-coding RNAs (ncRNAs) do not code for proteins but play important roles in numerous cellular processes including gene silencing, developmental pathways, and more. There are numerous types including microRNA (miRNA), long ncRNA (lncRNA), circular RNA (circRNA), and more. In this article, we discuss innovative ncRNA research and explore recent technological advancements that improve the study of ncRNAs.

                      Nobel Prize for MicroRNA Discovery
                      This week,...
                      10-07-2024, 08:07 AM
                    • seqadmin
                      Recent Developments in Metagenomics
                      by seqadmin





                      Metagenomics has improved the way researchers study microorganisms across diverse environments. Historically, studying microorganisms relied on culturing them in the lab, a method that limits the investigation of many species since most are unculturable1. Metagenomics overcomes these issues by allowing the study of microorganisms regardless of their ability to be cultured or the environments they inhabit. Over time, the field has evolved, especially with the advent...
                      09-23-2024, 06:35 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by seqadmin, Today, 07:29 AM
                    0 responses
                    12 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 10-15-2024, 06:35 AM
                    0 responses
                    11 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 10-14-2024, 02:44 PM
                    0 responses
                    11 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 10-11-2024, 06:55 AM
                    0 responses
                    19 views
                    0 likes
                    Last Post seqadmin  
                    Working...
                    X