samba-bugs@samba.org
2005-Jun-15 16:01 UTC
[Bug 2802] New: rsync uses extraneous libresolv.dylib
https://bugzilla.samba.org/show_bug.cgi?id=2802 Summary: rsync uses extraneous libresolv.dylib Product: rsync Version: 2.6.5 Platform: PPC OS/Version: Mac OS X Status: NEW Severity: trivial Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: psfales@lucent.com QAContact: rsync-qa@samba.org When we build rsync on darwin 10.3, it's linked with -lresolv which is /usr/lib/libresolv.dylib. However, it's not really necessary because rsync will still link and run if -lresolv is not used. The only reason I noticed this is that we sometimes take the 10.3 compiled binaries and run them on a 10.2 system. Since 10.2 doesn't have this library, the binary won't run there - but it will if libresolv is not used. The configure test is: checking for inet_ntop in -lresolv... yes I'm guessing that it's adding -lresolv if this check passes, even if -lresolv is not really needed to find the symbol. This is probably a minor issue, but it seems like it would cleaner to not have rsync depending on a library that it doesn't really need. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.