Giter Site home page Giter Site logo

Statically-link libwebp? about pixlet HOT 3 CLOSED

tidbyt avatar tidbyt commented on August 17, 2024 2
Statically-link libwebp?

from pixlet.

Comments (3)

snorremd avatar snorremd commented on August 17, 2024

I tried installing pixlet on my Ubuntu 22.04 distribution yesterday, but Ubuntu ships a different version of libwebp lib than what pixlet expects. So I too think hard linking would be nice and a valuable change for the Tidbyt app developers and users that run Linux.

from pixlet.

kudos avatar kudos commented on August 17, 2024

I'm having this same problem on Fedora too.

from pixlet.

betterengineering avatar betterengineering commented on August 17, 2024

Hey folks! So sorry for the delay on this issue. This should be resolved as of v0.22.4. Please let me know if you have any additional issues!

Issue

When I had added ARM support for Linux, I thought for sure the produced binaries were statically linked. It turns out, my build command was correct, but there was a string matching issue in my shell script so the correct build command wasn't being called 😭 . I resolved this in #459 when adding support for Windows.

Tests

I tested this by creating a fresh digital ocean instance and pulling the produced binaries:

root@ubuntu-s-1vcpu-2gb-amd-sfo3-01:~# curl -LO https://github.com/tidbyt/pixlet/releases/download/v0.22.4/pixlet_0.22.4_linux_amd64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 14.9M  100 14.9M    0     0   9.9M      0  0:00:01  0:00:01 --:--:-- 14.1M
root@ubuntu-s-1vcpu-2gb-amd-sfo3-01:~# tar -xvf pixlet_0.22.4_linux_amd64.tar.gz
LICENSE.txt
README.md
pixlet
root@ubuntu-s-1vcpu-2gb-amd-sfo3-01:~# chmod +x pixlet
root@ubuntu-s-1vcpu-2gb-amd-sfo3-01:~# ./pixlet version
Pixlet version: v0.22.4
root@ubuntu-s-1vcpu-2gb-amd-sfo3-01:~# curl -LO https://raw.githubusercontent.com/tidbyt/pixlet/main/examples/bitcoin.star
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1371  100  1371    0     0   7211      0 --:--:-- --:--:-- --:--:--  7215
root@ubuntu-s-1vcpu-2gb-amd-sfo3-01:~# ./pixlet render bitcoin.star --gif -m 10
[bitcoin.star] Miss! Calling CoinDesk API.
root@ubuntu-s-1vcpu-2gb-amd-sfo3-01:~# exit
logout
Connection to 147.182.224.167 closed.

bitcoin

from pixlet.

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.