monome / libmonome

makes writing applications for Monomes easy.
ISC License
302 stars 158 forks source link

Add option to not run ldconfig (or don't run it at all?) #52

Closed simonvanderveldt closed 6 years ago

simonvanderveldt commented 6 years ago

Currently wscript always calls ldconfig after building. See https://github.com/monome/libmonome/blob/3be6a37c8e30a7cf6eae6c202b2951d21abc7c76/wscript#L237

Gentoo uses a sandbox that doesn't allow writing to the root filesystem when building package. Since ldconfig tries to write to /etc/ld.so.cache this causes a sandbox violation and building/installing the package fails.

I wanted to discuss how to address this. I don't know why the ldconfig option was added (there's no mention of the reason in the commit), but normally the package manager does these kinds of things. If it's not necessary maybe it can be removed? If it is for some reason then it could become an option? Or it could become and option to disable it.

What would be the preferred way to address this?

wrl commented 6 years ago

fine with just removing it.