Opened 11 years ago

Closed 11 years ago

#40127 closed defect (duplicate)

gd2 @2.1.0 does not contain gdImagePngPtr symbol

Reported by: KurtPfeifle (Kurt Pfeifle) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gd2

Description

My attempt to run 'port -p upgrade libgphoto2' failed. The following lines are in the log:

libtool: link: ( cd ".libs" && rm -f "smal.la" && ln -s "../smal.la" "smal.la" )
/bin/sh ../libtool  --tag=CC   --mode=link /usr/bin/clang  -pipe -Os -arch x86_64 -Wall -g -Wmissing-declarations -Wmissing-prototypes -module -no-undefined -avoid-version -export-dynamic -export-symbols '../camlibs/camlib.sym' -rpath '
/opt/local/lib/libgphoto2/2.5.2' -Wl,-headerpad_max_install_names -arch x86_64 -g -o sony_dscf55.la  sonydscf55/sony.lo sonydscf55/camera.lo ../libgphoto2/libgphoto2.la ../libgphoto2_port/libgphoto2_port/libgphoto2_port.la  
libtool: link: ( cd ".libs" && rm -f "samsung.la" && ln -s "../samsung.la" "samsung.la" )
Undefined symbols for architecture x86_64:
  "_gdImageCreateFromPngPtr", referenced from:
      _put_file_func in library.o
  "_gdImagePngPtr", referenced from:
      _get_file_func in library.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [ax203.la] Error 1

Attachments (1)

main.log (32.0 KB) - added by KurtPfeifle (Kurt Pfeifle) 11 years ago.
main.log for failed upgrade of libgphoto2

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by KurtPfeifle (Kurt Pfeifle)

Attachment: main.log added

main.log for failed upgrade of libgphoto2

comment:1 Changed 11 years ago by KurtPfeifle (Kurt Pfeifle)

The port for 'dvipng' shows a very similar error: ticket #40126

Last edited 11 years ago by KurtPfeifle (Kurt Pfeifle) (previous) (diff)

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Port: gd2 added; libgphoto2 removed
Resolution: duplicate
Status: newclosed
Summary: 'libgphoto2' does not buildgd2 @2.1.0 does not contain gdImagePngPtr symbol

Duplicate of #40123.

Note: See TracTickets for help on using tickets.