I am trying to integrate PDFNet in my own project on macOS
If you get one of these error messages, or similar:
dyld: warning, LC_RPATH . in /Users/Username/PDFNetWrappersMac/PDFNetC/Lib/_PDFNetPython.so being ignored in restricted program because it is a relative pathPlease do the following whenever you intend to move the library files to a different filesystem path:
Download PDFNetC SDK again, or just extract again, so that you have fresh PDFNetC libraries.
Copy
fix_rpaths.shand the libraries you need (i.e.libPDFNetC.dyliband one or both of_PDFNetPython.so,PDFNetRuby.bundle) from<package path>/PDFNetC/Libto the destination directory in your project.Run
./fix_rpaths.shwith the working directory set to the destination directory from step (2) above.
Last updated
Was this helpful?