Comments (7)
So timg
never refers to that symbol directly, so it might be an issue with the way GraphicsMagick++-config
considers which libraries to link and probably misses one ?
If you do a git pull
for a recent version of timg
(changed the Makefile), you better see what GraphicsMagick++-config
expands to, maybe you see a missing library ?
from timg.
I use the last commit to date:
git show --shortstat
commit 95708eaca47c4651545817fc5ccf3cc3346570b2
Author: Henner Zeller <[email protected]>
Date: Sun Mar 19 08:50:01 2017 -0700
o Better detect failure to determine screen size.
1 file changed, 7 insertions(+), 7 deletions(-)
Output of GraphicsMagick-config :
-lGraphicsMagick++
It blames to /usr/lib64/libGraphicsMagick-Q16.so.3, but:
rpm -qf /usr/lib64/libGraphicsMagick-Q16.so.3
GraphicsMagick-1.3.25-6.fc25.x86_64
Any ideas?
Thanks in advance!
from timg.
What you want to check is how the output of
GraphicsMagick++-config --ldflags --libs
looks like.
On debian for instance it is
-L/usr/lib -L/usr/lib/X11 -L/usr/lib/x86_64-linux-gnu
-lGraphicsMagick++ -lGraphicsMagick -ljbig -lwebp -llcms2 -ltiff -lfreetype -ljpeg -lpng16 -lwmflite -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lm -lgomp -lpthread
including all libraries that the graphics magic is depending on. If there is one missing, it might well be that you get a linking error.
If so, this looks like a misconfiguration in the Fedora package, which I suggest to figure out with them.
from timg.
Yes, you're right
GraphicsMagick++-config --ldflags --libs
-lGraphicsMagick++
I've managed to compile with:
g++ -o timg timg.o terminal-canvas.o -lGraphicsMagick++ -lGraphicsMagick
Thanks!
from timg.
adding -lGraphicsMagick solved my very similar issue attempting to compile with VisualGDB on stretch.
from timg.
Adding -lGraphicsMagick fixed it for me. Anyone who tries to compile on Fedora 31 is going to run into this.
from timg.
can you file a bug with them to fix the config output?
from timg.
Related Issues (20)
- carbonyl love?
- Images rendered blurry in fzf preview. HOT 2
- new version not have binary file HOT 7
- No package 'libdeflate' found HOT 2
- ipv4 vs. ipv6 HOT 5
- libsixel is not available on Fedora 38 HOT 2
- Image preview in `lf` HOT 1
- Detected Crash: AddressSanitizer: heap-buffer-overflow HOT 7
- missing size parameter in iterm's protocol HOT 12
- Image viewer with scrolling HOT 3
- Detected memory leaks on timg
- Auto detect for Ghostty doesn't work HOT 8
- Cannot display certain SVG files HOT 6
- can we convert a whole video? HOT 2
- tmux passthrough for other terminals HOT 3
- Cannot read pdf in alpine container HOT 10
- Opensllde Error HOT 5
- Sixel support in foot does not get recongnized correctly HOT 8
- How about implementing [hyperlink support](https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda) HOT 2
- Displaying long images starting from the top instead of the bottom HOT 1
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 timg.