Find the answer to your Linux question:
Results 1 to 3 of 3
Hello I try to install GTK library and in its dependents I need to install libpng, ./configure command run without any error but when I run make command I get ...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    6

    Question error in make libpng

    Hello
    I try to install GTK library and in its dependents I need to install libpng,
    ./configure command run without any error but when I run make command I get the following errors:
    Code:
    make  all-am
    make[1]: Entering directory `/home/iman/c/libpng'
    rm -f libpng.vers libpng.vers.new
    PNG12_0 '{global:' > libpng.vers.new
    /bin/bash: PNG12_0: command not found
    make[1]: *** [libpng.vers] Error 127
    make[1]: Leaving directory `/home/iman/c/libpng'
    make: *** [all] Error 2
    I placed the zlib folder to the same level of libpng.
    would you please tell me what may I do?
    thanks a lot

  2. #2
    Just Joined!
    Join Date
    May 2008
    Posts
    6
    Hello
    I download rc version and the problem solved. But I don't know why I got this error.

  3. #3
    Just Joined!
    Join Date
    Apr 2008
    Posts
    35
    Sometimes this can be quick-fixed by setting your LD_LIBRARY_PATH before running configure and make so that it looks in the right "lib" directory first. Possible --with-zlib= and --with-libpng= flags in configure can help to, but you need to put them at the top level.

    Ex. If lpng.so (making that up is in /usr/local/libpng/lib
    you'd want

    --with-libpng=/usr/local/libpng

    Maybe. Maybe not. Glad it's working for you in any event

    , Mike

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...