# About plugins and ppx\_deriving

**URL:** <https://discuss.ocaml.org/t/about-plugins-and-ppx-deriving/914>\
**Category:** Ecosystem\
**Tags:** ppx, build\
**Created:** [October 3, 2017, 2:54pm UTC](https://discuss.ocaml.org/t/about-plugins-and-ppx-deriving/914 "2017-10-03T14:54:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kakadu](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/kakadu/32/1204_2.png) [@Kakadu](https://discuss.ocaml.org/u/Kakadu)\
**Post date:** [October 3, 2017, 2:54pm UTC](https://discuss.ocaml.org/t/about-plugins-and-ppx-deriving/914/1 "2017-10-03T14:54:28Z")

</div>

I’m linking a ppx\_deriving plugin using the command

`ocamlfind ocamlopt -shared -linkall -package ppx_tools_versioned,ppx_tools_versioned.metaquot_405,ppx_deriving.api,ppx_tools_versioned -package 'ocaml-migrate-parsetree ocaml-migrate-parsetree ppx_tools_versioned.metaquot_405' -I ppx ppx/ppx_deriving_gt.cmxa -o ppx/ppx_deriving_gt.cmxs`

but I’m unable to use it where I want because the  
`Error: Cannot load /home/kakadu/.opam/4.05.0+flambda/lib/GT/./ppx_deriving_gt.cmxs: error loading shared library: /home/kakadu/.opam/4.05.0+flambda/lib/GT/./ppx_deriving_gt.cmxs: undefined symbol: camlAst_convenience_405__lid_inner_176`

I’m not really sure what is this `inner` function: `lid` function seems [not](https://github.com/ocaml-ppx/ppx_tools_versioned/blob/master/ast_convenience_405.ml#L48) to have it.

Can somebody decrypt the error message, or, even better, propose a fix?

@let-def

---

<div class="post-metadata">

**Author:** ![Kakadu](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/kakadu/32/1204_2.png) [@Kakadu](https://discuss.ocaml.org/u/Kakadu)\
**Post date:** [January 3, 2018, 10:31am UTC](https://discuss.ocaml.org/t/about-plugins-and-ppx-deriving/914/2 "2018-01-03T10:31:07Z")

</div>

After some researching this problem has been replaced by another. I don’t longer need an answer.
