Description
I use gentoo linux ~amd64, fltk-1.3.8 installed
ldconfig -v | grep fltk
shows this:
/usr/lib64/fltk: (from /etc/ld.so.conf:23)
libfltk.so.1.3 -> libfltk.so.1.3
libfltk_forms.so.1.3 -> libfltk_forms.so.1.3
libfltk_gl.so.1.3 -> libfltk_gl.so.1.3
libfltk_images.so.1.3 -> libfltk_images.so.1.3
libfltk_cairo.so.1.3 -> libfltk_cairo.so.1.3
when i run make build --prefix=/usr
i get:
The Meson build system
Version: 1.3.0
Source dir: /home/ufk/src/new-session-manager
Build dir: /home/ufk/src/new-session-manager/build
Build type: native build
Project name: new-session-manager
Project version: 1.6.1
C compiler for the host machine: ccache cc (gcc 13.2.1 "cc (Gentoo 13.2.1_p20231014 p9) 13.2.1 20231014")
C linker for the host machine: cc ld.bfd 2.41
C++ compiler for the host machine: ccache c++ (gcc 13.2.1 "c++ (Gentoo 13.2.1_p20231014 p9) 13.2.1 20231014")
C++ linker for the host machine: c++ ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.0
Run-time dependency liblo found: YES 0.31
Run-time dependency threads found: YES
Run-time dependency jack found: YES 0.125.0
meson.build:40:13: ERROR: C shared or static library 'fltk' not found
and the log also shows that it can't find fltk:
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lfltk: No such file or directory