Created attachment 219765 [details] Amend Meson linker arguments to include missing symbols The port compiles cleanly but fails at runtime on the Findstar step: ``` ... log: Reference Image: log: Findstar: processing... ld-elf.so.1: /usr/local/lib/libgsl.so.25: Undefined symbol "cblas_dcopy" ``` Despite being linked against `-lgslblas` no `blas` symbols appear in the compiled binary as returned by `ldd`. I can't quite tell how closely this may be related to bug #250205. I am running 12.1-RELEASE, ports tree fetched via `svn`: ``` svn info | head Path: . Working Copy Root Path: /usr/ports URL: https://svn.freebsd.org/ports/branches/2020Q4 Relative URL: ^/branches/2020Q4 Repository Root: https://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 555538 Node Kind: directory Schedule: normal Last Changed Author: swills ``` ``` # egrep -v '^#' /etc/make.conf DEFAULT_VERSIONS+=ssl=openssl WITHOUT_MODULES = radeonkms ``` The attached patch rectifies the problem on my installation.
Committed. Thank you for the patch!
A commit references this bug: Author: yuri Date: Tue Nov 17 08:36:26 UTC 2020 New revision: 555541 URL: https://svnweb.freebsd.org/changeset/ports/555541 Log: astro/siril: Fix run-time error: Undefined symbol "cblas_dcopy" This was because math/gsl installs 2 libraries, libgsl.so and libgslcblas.so, the former of which should depend on the latter one. Instead, the gsl package through its pkg-config script asks users to link to both libraries. This fails when the link line also has -Wl,--as-needed which causes the linker to drop the second library. In such case the above error is triggered at runtime. Also update WWW. PR: 251206 Submitted by: Ned Leitch <ned.leitch+freebsd@gmail.com> MFH: 2020Q4 Changes: head/astro/siril/Makefile head/astro/siril/files/patch-Makefile.am head/astro/siril/files/patch-meson.build head/astro/siril/pkg-descr
A commit references this bug: Author: yuri Date: Thu Nov 19 07:39:42 UTC 2020 New revision: 555693 URL: https://svnweb.freebsd.org/changeset/ports/555693 Log: MFH: r555541 astro/siril: Fix run-time error: Undefined symbol "cblas_dcopy" This was because math/gsl installs 2 libraries, libgsl.so and libgslcblas.so, the former of which should depend on the latter one. Instead, the gsl package through its pkg-config script asks users to link to both libraries. This fails when the link line also has -Wl,--as-needed which causes the linker to drop the second library. In such case the above error is triggered at runtime. Also update WWW. PR: 251206 Submitted by: Ned Leitch <ned.leitch+freebsd@gmail.com> Approved by: ports-secteam (fluffy) Changes: _U branches/2020Q4/ branches/2020Q4/astro/siril/Makefile branches/2020Q4/astro/siril/files/patch-Makefile.am branches/2020Q4/astro/siril/files/patch-meson.build branches/2020Q4/astro/siril/pkg-descr