Giter VIP home page Giter VIP logo

Comments (2)

kandu avatar kandu commented on June 25, 2024

Hi, @mseri,

This is a known issue. The new version of fswatch packaged in debian/ubuntu is currently of broken status in my opinion.

The previous libfswatch-dev package placed the shared object in the right place while the new one didn't.

I don't understand why they made such an unnecessary broken change, not to mention the debian policy of packaging(runtime/develop/source).

Even if it means something which I don't understand, then in the deb package, either would help:

  1. update ld.conf.d in the post-installation phase.
  2. add some cmake or pkg-config file to help developers find the right path to link, so we can hard code the RPATH(another bad idea)

But fswatch packagers did neither.

Since debian is the upstream distribution of ubuntu, we can take a look after a new debian version is released.

from opam-repository.

kandu avatar kandu commented on June 25, 2024

Quoted from kandu/ocaml-fswatch#2 (comment), a way to workaround this issue.

But we can complement the broken debian package on our own.

1. Suppose we are in a debian x86-64 system: add a file named `fswatch.conf` to `/etc/ld.so.conf.d` . and the content of it is `/usr/lib/x86_64-linux-gnu/libfswatch`  then invoke `ldconfig`

2. `LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/libfswatch opam install fswatch_async fswatch_lwt`

from opam-repository.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.