This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gschwarz
Recipients
Date 2004-01-14.21:08:04
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
If I understand the configure script correctly it checks whether the following code is compiled and linked correctly with -ldl:

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.
History
Date User Action Args
2007-08-23 14:19:23adminlinkissue877124 messages
2007-08-23 14:19:23admincreate