How to compile shared core/plugin libraries
I want to try to use the synapse backend in a separate program. Eventually, I'm thinking synapse, but looking like dmenu. To do this, I wanted to try to load the synapse libraries into ruby with the ruby ffi. To do this, I'd need to generate libsynapsecore.so and libplugins.so. The problem is that I know next to nothing about vala, automake, and libtool. I tried using the following sets of directions:
http://
http://
but have been unable to generate a .so (I checked .libs). I've tried passing --enable-shared and --with-pic (which seems redundant), but to no avail. I note that libsynapsecore.la always has dlname='', which seems like a sign that something is wrong.
I know I could build the .so's the hacky way (ignore the automake stuff and just gcc -shared), but I suspect I'm going to end up messing around with the source a bit, and I'd prefer not to go down this road if possible. If somebody could help me build some .so files the "right" way, it'd be a big help.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Synapse Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Michal Hruby
- Solved:
- Last query:
- Last reply: