Opened 2 years ago

Last modified 3 months ago

#52117 new defect

Qpdf @6.0.0 does not build on PPC Leopard, Mac OS X 10.5.8 because of Undefined symbol "Pl_MD5::persistAcrossFinish(bool)" that ld could not find

Reported by: ballapete (Peter Dyballa) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: leopard powerpc Cc:
Port: qpdf


:info:build /usr/bin/g++-4.2 -pipe -Os -arch ppc -Wold-style-cast -Wall -MD -MF libtests/build/lzw.dep -MP -Iinclude -Ilibqpdf -I/opt/local/include -c libtests/ -o libtests/build/lzw.o
:info:build /bin/bash ./libtool --mode=link /usr/bin/g++-4.2 -pipe -Os -arch ppc -Wold-style-cast -Wall libtests/build/lzw.o -o libtests/build/lzw -lpcre -lz  -lqpdf -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -Llibqpdf/build
:info:build libtool: link: /usr/bin/g++-4.2 -pipe -Os -arch ppc -Wold-style-cast -Wall libtests/build/lzw.o -o libtests/build/lzw -Wl,-headerpad_max_install_names -arch ppc  /opt/local/lib/libpcre.dylib -lz /opt/local/lib/libqpdf.dylib -L/opt/local/lib -Llibqpdf/build
:info:build /usr/bin/g++-4.2 -pipe -Os -arch ppc -Wold-style-cast -Wall -MD -MF libtests/build/md5.dep -MP -Iinclude -Ilibqpdf -I/opt/local/include -c libtests/ -o libtests/build/md5.o
:info:build /bin/bash ./libtool --mode=link /usr/bin/g++-4.2 -pipe -Os -arch ppc -Wold-style-cast -Wall libtests/build/md5.o -o libtests/build/md5 -lpcre -lz  -lqpdf -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -Llibqpdf/build
:info:build libtool: link: /usr/bin/g++-4.2 -pipe -Os -arch ppc -Wold-style-cast -Wall libtests/build/md5.o -o libtests/build/md5 -Wl,-headerpad_max_install_names -arch ppc  /opt/local/lib/libpcre.dylib -lz /opt/local/lib/libqpdf.dylib -L/opt/local/lib -Llibqpdf/build
:info:build Undefined symbols:
:info:build   "Pl_MD5::persistAcrossFinish(bool)", referenced from:
:info:build       _main in md5.o
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
:info:build make: *** [libtests/build/md5] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/'
:info:build Command failed:  cd "/opt/local/var/macports/build/" && /usr/bin/make -w all 
:info:build Exit code: 2

The code is in /opt/local/var/macports/build/ probably.

Attachments (1)

main.log (50.5 KB) - added by ballapete (Peter Dyballa) 2 years ago.

Download all attachments as: .zip

Change History (4)

Changed 2 years ago by ballapete (Peter Dyballa)

Attachment: main.log added

comment:1 Changed 2 years ago by mf2k (Frank Schima)

Keywords: snowleopard powerpc added

comment:2 Changed 2 years ago by rbubley

Not just a Snow Leopard PowerPC issue, I have it on El Capitan/Intel:

:info:build libtool: link: /usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++ -Wold-style-cast -Wall libtests/build/md5.o -o libtests/build/md5 -Wl,-headerpad_max_install_names -arch x86_64  -lpcre -lz -lqpdf -L/opt/local/lib -Llibqpdf/build
:info:build libtool: link: /usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++ -Wold-style-cast -Wall libtests/build/png_filter.o -o libtests/build/png_filter -Wl,-headerpad_max_install_names -arch x86_64  -lpcre -lz -lqpdf -L/opt/local/lib -Llibqpdf/build
:info:build libtool: link: /usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++ -Wold-style-cast -Wall libtests/build/pcre.o -o libtests/build/pcre -Wl,-headerpad_max_install_names -arch x86_64  -lpcre -lz -lqpdf -L/opt/local/lib -Llibqpdf/build
:info:build libtool: link: /usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++ -Wold-style-cast -Wall libtests/build/pointer_holder.o -o libtests/build/pointer_holder -Wl,-headerpad_max_install_names -arch x86_64  -lpcre -lz -lqpdf -L/opt/local/lib -Llibqpdf/build
:info:build Undefined symbols for architecture x86_64:
:info:build   "Pl_MD5::persistAcrossFinish(bool)", referenced from:
:info:build       _main in md5.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
:info:build make: *** [libtests/build/md5] Error 1
:info:build make: *** Waiting for unfinished jobs....

comment:3 Changed 3 months ago by kencu (Ken)

Keywords: leopard added; snowleopard removed
Note: See TracTickets for help on using tickets.