The KDE5 port has a huge list of dependencies and one of them is suiteparse-amd; actually it might be needed because of something I selected in one the configuration dialogs. The build fails at this step:
Directory /usr/ports/math/suitesparse-amd/work/stage/usr/local/lib contains the library libamd.so.2, so I'm not sure why it's not found.
Any suggestion would be welcome, for now I'm stuck.
Code:
cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -O3 -fexceptions -fPIC -fopenmp -I/usr/ports/math/suitesparse-amd/work/stage/usr/local/include/suitesparse -I../../SuiteSparse_config -I../../AMD/Include -I../../COLAMD/Include -I../../BTF/Include -I../../CHOLMOD/Include -o amd_simple amd_simple.c -L/usr/ports/math/suitesparse-amd/work/SuiteSparse-5.10.1/lib -s -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 -B/usr/local/bin -fstack-protector-strong -L/usr/local/lib -L/usr/ports/math/suitesparse-amd/work/stage/usr/local/lib -L/usr/ports/math/suitesparse-amd/work/stage/usr/local/lib -L../../lib -lamd -lsuitesparseconfig -L/usr/local/lib -lm
./amd_simple > my_amd_simple.out
ld-elf.so.1: Shared object "libamd.so.2" not found, required by "amd_simple"
gmake[3]: *** [Makefile:47: amd_simple] Error 1
Directory /usr/ports/math/suitesparse-amd/work/stage/usr/local/lib contains the library libamd.so.2, so I'm not sure why it's not found.
Any suggestion would be welcome, for now I'm stuck.