Error installing wvware

Help
2003-01-10
2003-01-14
  • suresh kandaraj

    suresh kandaraj - 2003-01-10

    I am just trying to install wvware on a remote linux server using telnet/ssh...When i do 'make' command , i am getting the following error...

    gcc  -o wvWare wvWare.o  -L. -lwv -lpng -lz      -lm
    ./libwv.a(png.o): In function `ReadPNGImage':
    /home/prodata/pdmgmt-www/wvware/wv-0.7.4/magick/./png.c:1770: undefined reference to `png_create_read_struct_2'
    ./libwv.a(png.o): In function `WritePNGImage':
    /home/prodata/pdmgmt-www/wvware/wv-0.7.4/magick/./png.c:3496: undefined reference to `png_create_write_struct_2'
    collect2: ld returned 1 exit status
    make: *** [wvWare] Error 1

    What's the problem?please Help ..

    Thanks
    suresh

     
    • Francis James Franklin

      This looks like a mismatch between libpng library & headers, probably because both libpng 1.0.x & 1.2.x are installed.

       
    • suresh kandaraj

      suresh kandaraj - 2003-01-12

      hi franscis,
         How would i solve this issue?

      suresh

       
    • suresh kandaraj

      suresh kandaraj - 2003-01-12

      I think this is same as the error posted by Sergiy Zubatiy )
      RE: Error make wvWare  
      2002-04-10 11:16 ...

      Suresh.

       
    • Francis James Franklin

      I'm guessing that libpng.so is a soft link to libpng.3.* and that you have libpng headers for both libpng.3 and libpng.12... probably you have pngconf.h in /usr/include and in /usr/include/libpng - ??? - so perhaps you could try something like this:

      CPPFLAGS="-I/usr/include/libpng" ./configure [OPTIONS]

      Frank

       
    • suresh kandaraj

      suresh kandaraj - 2003-01-13

      I have pngconf.h in /usr/include ....i dont have any directory like /usr/include/libpng ....
      Where(in which file) should i try - CPPFLAGS="-I/usr/include/libpng" ./configure [OPTIONS] ???

      Please note: I dont have permission to modify files in /usr/ directory...

      Thanks for your help
      suresh....

       
    • suresh kandaraj

      suresh kandaraj - 2003-01-14

      Thanks frank..
         Now it is working....simply i tried CPPFLAGS="-I/usr/include/libpng" ./configure [OPTIONS]...
         Thanks again

      Suresh

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks