Git Product home page Git Product logo

Comments (6)

lucas-bremond avatar lucas-bremond commented on August 29, 2024

I could indeed reproduce that issue, same here.

from turbogit.

lucas-bremond avatar lucas-bremond commented on August 29, 2024

A couple of additional data points, on Ubuntu 20.04.3 LTS, after installing libgit2 using:

sudo apt install libgit2-dev

We end up with:

find /usr -name "*libgit2*"                                                                                                                                                                                               14s lucas@development-lucas
/usr/lib/x86_64-linux-gnu/pkgconfig/libgit2.pc
/usr/lib/x86_64-linux-gnu/libgit2.a
/usr/lib/x86_64-linux-gnu/libgit2.so
/usr/lib/x86_64-linux-gnu/libgit2.so.28
/usr/lib/x86_64-linux-gnu/libgit2.so.0.28.4
/usr/share/doc/libgit2-dev
/usr/share/doc/libgit2-28

Setting export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu does not work, as libgit2.so.1.3 is still expected by tug.

from turbogit.

lucas-bremond avatar lucas-bremond commented on August 29, 2024

What did the trick for me (temporary solution):

git clone https://github.com/libgit2/libgit2
cd libgit2
git checkout tags/v1.3.0
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local
sudo cmake --build . --target install
# Add to shell profile
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib
export PATH=${PATH}:/opt/local/bin

from turbogit.

superlevure avatar superlevure commented on August 29, 2024

Yup, did the exact same thing as a workaround (but forgot to come here to comment of course)

from turbogit.

b4nst avatar b4nst commented on August 29, 2024

Indeed, libgit2 1.3. is not yet in Ubuntu 20.04.3 LTS default sources

from turbogit.

b4nst avatar b4nst commented on August 29, 2024

Should be fixed by version 4.0.0. Libgit2 is now statically linked, so no more system dependencies.

from turbogit.

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.