On Sun, Aug 22, 2010 at 06:40:43PM -0400, Stefan Bruda wrote:
> Hi,
>
> Pdftk appears to install nicely, but every time I try to run it I get:
>
> < godel:cs/techreps > pdftk rt-testing.pdf background buresearch.pdf output
> rr.pdf
> dyld: _dyld_bind_fully_image_containing_address() error
> dyld: Symbol not found: _libiconv
> Referenced from: /opt/sw64/lib/gcc4.5/lib/libgcj.11.dylib
> Expected in: flat namespace
> in /opt/sw64/lib/gcc4.5/lib/libgcj.11.dylib
> ./background.sh: line 3: 49768 Trace/BPT trap pdftk $1 background
> ~//works/Tmpls/wwwcs/buresearch.pdf output $2
>
This sounds like a confused build of pdftk against libiconv. The pdftk
maintainer needs to make sure that the fink libiconv headers and libraries
are being used and not the system ones.
nm /usr/lib/libiconv.2.4.0.dylib | grep _libiconv
00000000000fa760 D __libiconv_version
000000000001597c T _libiconv_relocate
0000000000015972 T _libiconv_set_relocation_prefix
nm /sw/lib/libiconv.2.4.0.dylib | grep _libiconv
00000000000fd780 D __libiconv_version
000000000000bd30 T _libiconv
0000000000015290 T _libiconv_close
0000000000017a70 T _libiconv_open
00000000000187d0 t _libiconv_relocate
0000000000018700 T _libiconv_set_relocation_prefix
000000000000c1e0 T _libiconvctl
000000000000bd90 T _libiconvlist
I would do a 'otools -L' on pdftk and then recursively on all of
the libs it links against until you identify what has incorrectly
linked against the system libiconv instead of fink's.
Jack
> If I build the 32-bit version I get it to run without a hitch, the
> problem is only with the 64-bit version.
>
> Googling around I found out that it might be a problem with GCC rather
> than pdftk itself (hence cc-ing the GCC maintainer), but I am not
> sure. Advice is appreciated.
>
> System info: Mac OS 10.6.4, Xcode 3.2, Fink 0.29.13 (x86_64), Xquartz
> 2.5.3.
>
> Many thanks in advance,
> Stefan
>
> --
> If it was so, it might be; and if it were so, it would be; but as it
> isn't, it ain't. That's logic. --Lewis Carroll, Through the Looking-Glass
>
> No HTML emails and proprietary attachments please <http://bruda.ca/email.html>
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users