Comments (6)
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.
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.
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.
It looks like library libdl
is missing during linking.
I will fix it ASAP.
from twin.
Commit b6e4e4b should fix this issue.
from twin.
Happy to report vanilla build worked out of the box. Thanks so much!
from twin.
Related Issues (20)
- Compile fails on raspberry pi HOT 6
- Centos7: Make fails due to fpermissive error HOT 1
- Compiling and running on Termux (Android) HOT 6
- Newbie Question on Screen background HOT 7
- Where's the docs & native X11 decorations HOT 5
- twin --hw=x11 has no numeric pad HOT 6
- xterm mouse support: only 223 chars wide? HOT 13
- Cosmos72 do you want some .debs? HOT 2
- Would you consider putting config in /etc? HOT 11
- Input is _dead_ in `twterm` on 32-bit systems HOT 20
- Long running headless TWIN hangs [on 32-bit system] HOT 10
- Compile error using (intentionally old) g++ 4.9.2 HOT 16
- Twin clients die when connection is lost HOT 13
- hw_X11 and hw_xft don't work as expected in some cases HOT 11
- Crash attaching both --hw=X11 and --hw=xft at the same time HOT 2
- Support for Wayland? HOT 1
- Problems compiling: hw: No such file or directory HOT 2
- Integer overflow when calculating AllocMem() size HOT 1
- I made a deb package and put it into an apt repository HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twin.