Sebastian Wouters <[email protected]> writes:

> Hi Aaron,

Hi!  Thanks for the quick response.

> I can add the dependency, but is there an easy way to test beforehand
> whether it will help?

I just tested on a kFreeBSD porterbox (falla.debian.org), and can
confirm that it does.

> The library itself should in principle be sufficient as the c-functions are
> declared external in the chemps2 source code itself:
> https://github.com/SebWouters/CheMPS2/blob/master/CheMPS2/include/chemps2/Lapack.h

All the same, the build-time linker ordinarily relies on (unversioned)
lib*.so symlinks, which are also relegated to -dev packages so that
multiple versions of runtime packages can coexist.  On Linux, CMake
somehow figures out that it can explicitly point the linker at
/usr/lib/libatlas.so.3gf and the like, but it doesn't do so on kFreeBSD,
and being able to specify -latlas, etc. is cleaner anyway.

Thanks for checking!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/[email protected]


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to