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 ..
This looks like a mismatch between libpng library & headers, probably because both libpng 1.0.x & 1.2.x are installed.
How would i solve this issue?
I think this is same as the error posted by Sergiy Zubatiy )
RE: Error make wvWare
2002-04-10 11:16 ...
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]
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
Now it is working....simply i tried CPPFLAGS="-I/usr/include/libpng" ./configure [OPTIONS]...
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.