Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldconfig does not update the library cache on make install #336

Closed
g-p-g opened this issue Oct 16, 2015 · 2 comments
Closed

ldconfig does not update the library cache on make install #336

g-p-g opened this issue Oct 16, 2015 · 2 comments

Comments

@g-p-g
Copy link

g-p-g commented Oct 16, 2015

I see that a call to ldconfig -n /usr/local/lib happens during make install, but that doesn't cause the shared library cache to be updated as -n implies -N (which instructs ldconfig to not rebuild the cache):

$ sudo ldconfig -n /usr/local/lib
$ ldconfig -p | grep secp
$ sudo ldconfig /usr/local/lib
$ ldconfig -p | grep secp
    libsecp256k1.so.0 (libc6,x86-64) => /usr/local/lib/libsecp256k1.so.0
    libsecp256k1.so (libc6,x86-64) => /usr/local/lib/libsecp256k1.so
@gmaxwell
Copy link
Contributor

AFAIK it's not normal for make install to run ldconfig for cache rebuilding. There is some discussion at esnet/iperf#153 which suggests that attempt to do so is fraught with issues.

@gmaxwell
Copy link
Contributor

gmaxwell commented Jun 7, 2019

Closing this since it's inactive and I think nothing needs to be done.

@gmaxwell gmaxwell closed this as completed Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants