Reading Eigen Matrix data from a static library

I have a C++ (library and) application using Eigen. There’s some data hard-coded in there, in an Eigen matrix, that I suppose I might be able to load from the compiled static library. I can see the symbol there with nm. When I tried to load the data with cglobal, though, I got an error “invalid ELF header”. What I’m doing wrong?