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
configure links unnecessary library libdl #39821
Comments
Python's configure adds -ldl to LIBS on irix5. This is not needed, and it produces compiler warnings that this lib did not resolve any symbols and can be removed. Possibly it's adding an unnecessary dependence on that lib. char dlopen();
int main() {
dlopen()
; return 0; } Now this code compiles and links on IRIX 5.3 without any specific library. With -ldl you get a warning lorenz 12% cc x.c
lorenz 13% cc x.c -ldl
ld:
The shared object /usr/lib/libdl.so did not resolve any symbols.
You may want to remove it from your link line.
lorenz 14% cat x.c
char dlopen();
int main() {
dlopen()
; return 0; }
lorenz 15% probably the configure script should check for any output to stderr when doing the compiling/linking attempt with the sample code. |
Logged In: YES Would you like to contribute a patch for that? configure |
Logged In: YES Georg Schwarz indicated in private mail that he is not able |
Martin, can I close this? |
Yes, nobody seems to be interested in fixing it. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: