Hi Alex & Jack thanks for your h explanations. I've taken the updated package for pdftk-1.44 which I made for 10.6 but did commit as pdftk.info instead of the pdftk-10.6 package and added the fix for the missing libiconv flags. The 10.6. is now a) up-to-date, b) links explicitly against fink's libicon.
Let me know, if there are still problems. Best Matthias On 25.03.2011, at 01:32, Alexander Hansen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 3/24/11 7:32 PM, Jack Howarth wrote: >> On Thu, Mar 24, 2011 at 10:01:11PM +0100, Matthias Ringwald wrote: >>> Hi Sven >>> >>> could you try to help dyld finding libiconv by: >>> >>>> fink install libiconv >>>> export DYLD_INSERT_LIBRARIES=/sw64/lib/libiconv.dylib >>>> pdftk... >>> >>> I don't have a 64bit fink installation and cannot test this but it looks >>> like libgcj from the gcc45 package doesn't link explicitly against libiconv >>> and that's why it's not found. on my 10.6.6 it works for i386 for some >>> reason. >> >> The gcj compiler should have -L/sw/lib -liconv in its spec. >> >> gcj-fsf-4.5 -v --main=testme -O testme.java >> >> produces >> >> /sw/lib/gcc4.5/libexec/gcc/x86_64-apple-darwin10.6.0/4.5.2/collect2 -dynamic >> -arch x86_64 -macosx_version_min 10.6.7 -weak_reference_mismatches non-weak >> -o a.out -lcrt1.10.5.o >> -L/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin10.6.0/4.5.2 >> -L/sw/lib/gcc4.5/lib/gcc/x86_64-apple-darwin10.6.0/4.5.2/../../.. >> /var/tmp//ccVQdp14.o /var/tmp//ccfB7sJP.o -lgcc_s.10.5 -lgcc_ext.10.5 -lgcc >> -lgcj -lm -L/sw/lib -liconv -lpthread -lz -allow_stack_execute -ldl >> -lgcc_s.10.5 -lgcc_ext.10.5 -lgcc -no_compact_unwind -lSystem >> >> >> I do recall that when I created test pdftk packages... >> >> http://sourceforge.net/tracker/index.php?func=detail&aid=2847724&group_id=17203&atid=414256 >> >> I included... >> >> PatchScript: << >> cd pdftk; perl -pi -e "s|-liconv|-L%p/lib -liconv|g" ./Makefile.OSX-10.6 >> << >> >> because the bundled Makefile.OSX-10.6 didn't explicitly set the path for >> -liconv. I wasn't >> sure why this change was discarded for the packaging finally added to >> unstable. >> Jack >> >>> > > That'd be up to the maintainer to incorporate, and if he didn't know > about the tracker item, it got missed. Instead he moved the package to > a new upstream version. > > For what it's worth, adding that (adapted) to the PatchScript fixes the > problem. > > http://fink.cvs.sourceforge.net/viewvc/fink/experimental/alexkhansen/3rdparty/finkinfo/pdftk-10.6.info?view=log > > - -- > Alexander Hansen, Ph.D. > Fink User Liaison > http://finkakh.wordpress.com/ > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.11 (Darwin) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk2L4qoACgkQB8UpO3rKjQ8fAACbBasj6uomR8bMj8Slt5m5TVmX > xAsAn2p9wfJRE9d3AdP1v4iGarg8BLB4 > =+9sr > -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users