Elektrine lite

← Feed

@modem_down@thebrainbin.org

Ptouch-print compile error: Could not find GD library

2026-07-28 15:15 UTC

Trying to install ptouch-print: $ git clone https://git.familie-radermacher.ch/linux/ptouch-print.git Cloning into 'ptouch-print'... Fetching objects: 794, done. $ cd ptouch-print/ $ ./compile.sh Found GD: NO CMake Error at cmake/FindGD.cmake:109 (MESSAGE): Could not find GD library Call Stack (most recent call first): CMakeLists.txt:13 (find_package) -- Configuring incomplete, errors occurred! So I thought maybe libgd was not installed, but it is, so where am I going wrong? $ apt list --installed | grep libgd3 libgd3/noble,now 2.3.3-9ubuntu5 amd64 [installed]

Replies (2)

  • @modem_down@thebrainbin.org 2026-07-28 15:24

    I overlooked this line from the docs: Benötigt werden cmake, git, libgd und libusb - bei manchen Distributionen (z.B. Ubuntu) sind die Header-Files in separaten Paketen "libusb-dev" die ggf. noch nachinstalliert werden müssen. I should have done sudo apt install libgd-dev libusb-1.0-0-dev before attempting compilation.

    Open ##4168046

  • @MonkderVierte@lemmy.zip 2026-07-29 09:16

    packaged: your distro > packaging issues > report from source: project repo > issues > report

    Open ##4191114