monome / libmonome

makes writing applications for Monomes easy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

simonvanderveldt opened this issue · comments

Currently wscript always calls ldconfig after building. See

pst.exec_command("ldconfig")

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?

fine with just removing it.