blis icon indicating copy to clipboard operation
blis copied to clipboard

Not possible to link Blis and Lapack statically into the same executable

Open tbetcke opened this issue 7 months ago • 12 comments

I would like to link Blis and Lapack statically into the same executable. However, this is not possible since several symbols are multiply defined between Blis and Lapack. These are lsame, xerbla, xerbla_array, crot, czymv, csyr, zrot, zsymv, zsyr.

I noticed an earlier bug report #776 in which some of these were discussed and then included into Blis. Would it be possible to have an option to disable this in the future?

The background is that I am integrating them into a Rust project. Rust prefers static linkage and does not handle rpath well for shared libraries.

tbetcke avatar Jun 25 '24 20:06 tbetcke