Red Hat Bugzilla – Bug 98460
missing getipnodebyname, getipnodebyname, freehostent
Last modified: 2007-04-18 12:55:26 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1)
Gecko/20020823 Netscape/7.0 (nscd2)
Description of problem:
Please reply to email@example.com. The email account identified by my
UID is no longer valid.
This is a follow on querry to BUG8736 more than a bug report. What are RedHat's
plans WRT providing support for getipnodebyname, getipnodebyname, and
freehostent? I'm porting an application to 7.3 LINUX which requires these
routines. They appear to not exist on 7.3. Is there a patch, bug fix, or
whatever I can apply that provides these functions? I don't want to hack up the
code to use the obsdolete gethostby* functions unless there is absolutely no
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try to link any app that calls getipnodebyname, getipnodebyname, or freehostent
2. Run nm --print-armap on all .a and .so in /usr/lib and grep for any of the
missing functions. You will not see them.
So you want to use a different obsolete interface (which was obsolete in 2000
Use getaddrinfo(3) instead.