Hi, I've encountered an error when trying to build mathematical on cygwin while using MATHEMATICAL_USE_SYSTEM_LASEM. The linker complains about undefined references to symbol names with the pattern lsmdom*.
In the build log (see below), the link command does not contain -llasem. It looks like extconf.rb is supposed to add -llasem to the makefile, but that's failing to happen in my environment.
I do not understand how to fix that problem.
if !using_system_lasem?
[...]
else
if dir_config('lasem').any? || system('dpkg -s liblasem >/dev/null')
$LIBS << ' -llasem'
else
# NOTE: pkg_config implicitly adds right -l argument for the linker.
pkg_config('liblasem') || pkg_config('lasem')
end
end
Hi, I've encountered an error when trying to build mathematical on cygwin while using MATHEMATICAL_USE_SYSTEM_LASEM. The linker complains about undefined references to symbol names with the pattern lsmdom*.
In the build log (see below), the link command does not contain -llasem. It looks like extconf.rb is supposed to add -llasem to the makefile, but that's failing to happen in my environment. I do not understand how to fix that problem.
extconf.rb contains this:
FWIW, I'm following the instructions for setting up the build of a project that uses asciidoctor-mathematical, and this is failing while building mathematical. The instructions I'm following are the cygwin section of this: https://gitlab.khronos.org/vulkan/vulkan/blob/1.0/doc/specs/vulkan/README.adoc
I have installed these cygwin packages using cygwin's setup-x86_64.exe:
And I have created a symbolic link named liblasem.dll.a as recommended in the above-referenced README.adoc.
Here are relevant excerpts from the build log: