jackaudio / new-session-manager

Assists music production by grouping standalone programs into sessions. Community version of "Non Session Manager".
https://new-session-manager.jackaudio.org
GNU General Public License v3.0
78 stars 10 forks source link

C shared or static library 'fltk' not found #99

Open kfirufk opened 9 months ago

kfirufk commented 9 months ago

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

diovudau commented 9 months ago

Is it possible that you have to install fltk-devel or so to get the library?

kfirufk commented 9 months ago

Is it possible that you have to install fltk-devel or so to get the library?

In gentoo Linux just emerging fltk is fine,and as I showed, I already have it installed

kfirufk commented 9 months ago

i tested fltk and it compiles fine, i downloaded an hello world example in fltk, compiled it with

g++ fltk-hello.cpp `fltk-config --cxxflags --ldflags` -o fltk-hello

and it compiles and works just fine.