> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/core/get-started/faq/unable-to-run-pdfnet-in-my-own-project-mac.md).

# I am trying to integrate PDFNet in my own project on macOS

World's #1 PDF SDK Library for Web, Mobile, Server, Desktop

If you get one of these error messages, or similar:

{% tabs %}
{% tab title="Shell" %}
{% code lineNumbers="true" %}

```shell
dyld: warning, LC_RPATH . in /Users/Username/PDFNetWrappersMac/PDFNetC/Lib/_PDFNetPython.so being ignored in restricted program because it is a relative path
```

{% endcode %}
{% endtab %}
{% endtabs %}

Please do the following whenever you intend to move the library files to a different filesystem path:

1. Download PDFNetC SDK again, or just extract again, so that you have fresh PDFNetC libraries.
2. Copy `fix_rpaths.sh` and the libraries you need (i.e. `libPDFNetC.dylib` and one or both of `_PDFNetPython.so`, `PDFNetRuby.bundle`) from `<package path>/PDFNetC/Lib` to the destination directory in your project.
3. Run `./fix_rpaths.sh` with the working directory set to the destination directory from step (2) above.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.apryse.com/core/get-started/faq/unable-to-run-pdfnet-in-my-own-project-mac.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
