Giter Club home page Giter Club logo

Comments (6)

rogersavage avatar rogersavage commented on August 29, 2024 3

I'm on Debian 11 and I had the same problem, after installing the dependencies listed in the Twin readme.

When I started trying to track it down, grep revealed that dlerror() is only called once. I commented out line 44 of libs/libtstl/err.cpp and that allowed me to compile. I have Twin running apparently ok at the moment, but I'll chime in again if I can figure out how to actually fix the problem.

Edit: I've never had to use ldconfig before. I ran sudo ldconfig between configure and make, but maybe I need to pass it some arguments? Not sure what I'm doing here. Researching.

Edit 2: Ok, so after some searching, I found dlfcn.h in my /usr/include directory. I added /usr/include to my /etc/ld.so.conf.d/libc.conf, re-ran sudo ldconfig, then recompiled and now it works without the reference to dlerror commented out. I don't know if this is the correct solution, maybe someone more knowledgeable can comment, but it worked for me.

from twin.

Mirppc avatar Mirppc commented on August 29, 2024

That is very odd as it is compiling just fine on Ubuntu 22.04.

Do you have all the dependencies installed? the development dependencies.

The last time i ran into an error like that i was missing a devel or dev package. So my suggestion would be to recheck your installed dependencies or figure out what package provides libstl.

from twin.

dgbiotext avatar dgbiotext commented on August 29, 2024

@rogersavage

Thanks for your troubleshooting! FWIW, I found that commenting out that line allowed compilation, but the changes to libc.conf did not not help, though I do have dlfcn.h in the place you noted.

Tried on 2 computers -- both Debian 11.6, one i386 one AMD64. Exactly the same problems on both. Happy to have it working!

from twin.

cosmos72 avatar cosmos72 commented on August 29, 2024

It looks like library libdl is missing during linking.
I will fix it ASAP.

from twin.

cosmos72 avatar cosmos72 commented on August 29, 2024

Commit b6e4e4b should fix this issue.

from twin.

dgbiotext avatar dgbiotext commented on August 29, 2024

Happy to report vanilla build worked out of the box. Thanks so much!

from twin.

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.