silver-ymz opened a new pull request, #2814:
URL: https://github.com/apache/incubator-opendal/pull/2814

   I change cabal build system from default to custom script. With Setup.hs, 
cabal can call `cargo build` to manage the build of opendal-hs rust crate. 
   
   Now the problem is that rust crate is dynamic and haskell linker can't 
handle it. For each executable file built with opendal-hs, users must export 
env var `LD_LIBRARY_PATH` or use `patchelf` to set rpath.
   
   Better solutions may need to wait https://github.com/haskell/cabal/pull/9063 
or https://github.com/haskell/cabal/issues/7339


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to