Thanks for this.

On 29/10/2018 11:45, John David Anglin wrote:
After some trial and error, I found that the libemos-targets-release.cmake file caused metview to link against libemosR64.a.  I had a successful build by changing the ".a" references to ".so".
See attached file.

I still don't know what the actual problem is.  Is the libemos-targets-release.cmake file wrong
or is the metview build mechanism wrong?

I'd call the libemos-targets-release.cmake file wrong.

Debian is unusual in shipping both static and shared versions of the libraries; packages such as metview should build against the shared version because then it gets bugfixes should emos be updated. cmake favours linking against the static version if present (marginally faster on some archs, which is why we ship them to enable users to link against them, at their own risk).

I will fixup the cmake files in the debian/rules.

Dave

Regards

Alastair


--
Alastair McKinstry, <[email protected]>, <[email protected]>, 
https://diaspora.sceal.ie/u/amckinstry
Misentropy: doubting that the Universe is becoming more disordered.

Reply via email to