0

When I tried to compile UMN_Mapserver, I encountered this error:

-undefined reference to `png_set_longjmp_fn'-

I am using ubuntu 10.1

How can I solve the problem ?

4
  • The compile error is likely too specific for an answer here. (Try the Mapserver mailing lists: mapserver.org/community/lists.html .) If you don't need to build Mapserver from source, there's a binary for 10.1 in the ubuntugis PPA. To install, do sudo add-apt-repository ppa:ubuntugis/ppa then sudo apt-get update, and finally install the mapserver binary with sudo apt-get install mapserver.
    – Nick
    May 17, 2011 at 14:16
  • Why was this moved from SO to here? May 18, 2011 at 10:38
  • @Chris: My comment was actually made on the Webmasters site. Looks like the question got moved from SO to PW, and now to SF! May 19, 2011 at 13:36
  • @DisgruntledGoat, maybe we should migrate it over to SU for the trifecta.
    – Chris S
    May 19, 2011 at 13:38

1 Answer 1

0

You're missing libpng, or you have the 'wrong' version.

You must log in to answer this question.