Open cielavenir opened 10 years ago
I installed gcc48/ecj1 using the hack http://www.kunugiken.com/os-x/compiling-pdftk-for-snow-leopard . Now I was able to install pdftk +gcc48. However, I saw this error:
dyld: _dyld_bind_fully_image_containing_address() error dyld: Symbol not found: _libiconv Referenced from: /opt/local/lib/gcc48/libgcj.14.dylib Expected in: flat namespace in /opt/local/lib/gcc48/libgcj.14.dylib Trace/BPT trap: 5
So, I added -liconv to Makefile.
- +export LDLIBS= $(shell $(CXX) -print-file-name=libgcj.dylib) $(shell $(CXX) -print-file-name=libstdc++.dylib) $(shell $(CXX) -print-file-name=libgcc_s.1.dylib) + +export LDLIBS= $(shell $(CXX) -print-file-name=libgcj.dylib) $(shell $(CXX) -print-file-name=libstdc++.dylib) $(shell $(CXX) -print-file-name=libgcc_s.1.dylib) -liconv
Now my pdftk build looks like just fine. How do you think?
Posted binary here: https://www.dropbox.com/s/mj92ccgvwoit746/macports/
I installed gcc48/ecj1 using the hack http://www.kunugiken.com/os-x/compiling-pdftk-for-snow-leopard . Now I was able to install pdftk +gcc48. However, I saw this error:
So, I added -liconv to Makefile.
Now my pdftk build looks like just fine. How do you think?