in reply to How to setup the DynaLoader in a dynamically loaded perl?

What's the actual error in your last paragraph?

Also, wouldn't setting rpath to an absolute path be less of a headache?

Finally, creating a statically-linked executable, including a static link to perl and a static link to ALL the XS modules you may need sounds like a big hassle but once you set the workflow, you stop worrying about all the problems your binary may face in foreign machines.

bw, bliako

  • Comment on Re: How to setup the DynaLoader in a dynamically loaded perl?

Replies are listed 'Best First'.
Re^2: How to setup the DynaLoader in a dynamically loaded perl?
by sciurius (Beadle) on May 05, 2020 at 20:37 UTC

    Setting rpath to an absolute path would make things easier, but the application will not be installed in a predefined location.

    Creating a statically-linked executable would be an alternative. For the time being I'd prefer not to.