Opened 16 years ago

Closed 16 years ago

#2696 closed defect (fixed)

mapserver-config --libs does not include the /path/to/libgd.a

Reported by: woodbri Owned by: aboudreault
Priority: normal Milestone: 5.2.1 release
Component: Build Problems Version: unspecified
Severity: normal Keywords:
Cc: dmorissette

Description

If you configure mapserver like:

./configure \
  --enable-ignore-missing-data \
  --enable-debug \
  --with-httpd=/usr/sbin/apache \
  --with-proj=/usr \
  --with-agg=../agg-2.4 \
  --with-gd=static,/usr/local \
  --with-freetype \
  --with-postgis \
  --without-tiff \
  --with-wmsclient \
  --with-fribidi-config=/usr/local/lib/pkgconfig/fribidi.pc

make

./mapserver-config --libs
-ljpeg -lfreetype -lpng -lz -L/home/woodbri/work/genimage/mapserver-5.2.0-rc1/../agg-2.4/src -lagg -ljpeg -lfreetype -lpng -lz -L/usr/lib64 -lproj -ljpeg -lpng -L/usr/lib -lpq -L/usr/lib -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lc -lz -L/usr/local/lib -lfribidi -lm -lstdc++

mapserver-config --libs needs to include "/usr/local/lib/libgd.a" when you specify "static" on --with-gd=static,/usr/local

Attachments (1)

bug2696.patch (1.4 KB ) - added by aboudreault 16 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by dmorissette, 16 years ago

Milestone: 5.2 release5.2.1 release

This is not new to 5.2, pushing to 5.2.1 to avoid breaking the 5.2.0 release.

comment:2 by dmorissette, 16 years ago

Cc: dmorissette added
Owner: changed from dmorissette to aboudreault

by aboudreault, 16 years ago

Attachment: bug2696.patch added

comment:3 by aboudreault, 16 years ago

Here's the small patch.

comment:4 by dmorissette, 16 years ago

Steve, can you please test the patch in your environment and confirm that this solves your problem before we commit it?

comment:5 by woodbri, 16 years ago

Just tested it and it looks good. Thank you for the fast response on this.

comment:6 by aboudreault, 16 years ago

Resolution: fixed
Status: newclosed

Commited to SVN trunk r7884

Note: See TracTickets for help on using tickets.