can't resolve symbol '_h_errno'

can't resolve symbol '_h_errno'

Post by roo » Fri, 28 Jun 1996 04:00:00



I recently upgraded my kernel to 2.0.0, as well as teh assorted packages
required to get it to run. (gcc2.7.2, libc-5.2.18, binutils-2.6.0.14,
ld.so-1.7.14, sysvinit-2.62, util-linux-2.5)

I also upgraded sendmail to 8.7.5.

After the upgrade, whenever I sent mail I got the error message
 can't resolve symbol '_h_errno'

Oddly, I didn't have the problem if I sent mail as root.

"No problem," I said. "I'll just use my old binary." Which I did.

Then I decided that I needed a mail reader. So I downloaded the source
for slrn and slang, compiled everything, and ran it.

Once again I was faced with the message:
 can't resolve symbol '_h_errno'

Oddly, the program runs if I'm root or use sudo.

gdb reports the following:
Starting program: /usr/src/slrn/src/objs/./slrn
/usr/src/slrn/src/objs/./slrn: can't resolve symbol '_h_errno'

Program received signal SIGSEGV, Segmentation fault.
0x400025c0 in Blank_Hash ()
(gdb) where
#0  0x400025c0 in Blank_Hash ()
#1  0x400058a4 in Blank_Hash ()
#2  0x40003afc in Blank_Hash ()
#3  0x400019cf in Blank_Hash ()
#4  0x1 in ?? ()

Any ideas?

Later,
-B

--
Brandon High    http://www.ccnet.com/~bjhigh    Down with Big Brother!

--
"Hey Bullwinkle, watch me exhale my guts!" - Jeffrey D Smith

 
 
 

can't resolve symbol '_h_errno'

Post by Harrison Berger » Fri, 28 Jun 1996 04:00:00



 >I recently upgraded my kernel to 2.0.0, as well as teh assorted packages
 >required to get it to run. (gcc2.7.2, libc-5.2.18, binutils-2.6.0.14,
 >ld.so-1.7.14, sysvinit-2.62, util-linux-2.5)
 >
 >I also upgraded sendmail to 8.7.5.
 >
 >After the upgrade, whenever I sent mail I got the error message
 > can't resolve symbol '_h_errno'
 >
 >Oddly, I didn't have the problem if I sent mail as root.
 >
 >"No problem," I said. "I'll just use my old binary." Which I did.
 >
 >Then I decided that I needed a mail reader. So I downloaded the source
 >for slrn and slang, compiled everything, and ran it.
 >
 >Once again I was faced with the message:
 > can't resolve symbol '_h_errno'
 >
 >Oddly, the program runs if I'm root or use sudo.
 >
 >gdb reports the following:
 >Starting program: /usr/src/slrn/src/objs/./slrn
 >/usr/src/slrn/src/objs/./slrn: can't resolve symbol '_h_errno'

        Yes, I know how to fix it, and if anyone ever
        responds to my posts, I'll know why as well.
        I had the same problem with slrn as well. You
        can do one of two things.

        Plan A:
        Look in the header file /usr/include/netdb.h.
        There is a macro:      

        #if defined(__linux__)&&defined(__ELF__)
        #define h_errno herrno
        #endif

        The symbol herrno is not in slrn anywhere, so
        I tried commenting out the #define:

        #if defined(__linux__)&&defined(__ELF__)
        /* #define h_errno herrno */
        #endif  

        It will compile this way.

        Plan B:
        Add the resolver library ( -lresolv ) to the slrn
        Makefile. This is /usr/lib/libresolv.a.

        It added 29K to my final slrn executable (156K v. 127K),
        but it works as well. I don't know which is the correct
        long term solution to avoid breaking the world later on
        down the line. I compiled my sendmail, so I don't know
        if the precompiled version works or not. My compiled
        version works fine and is about 60K smaller than the
        precompiled.

--

    Steinberger:
State of the Instrument

 
 
 

can't resolve symbol '_h_errno'

Post by John E. Dav » Mon, 08 Jul 1996 04:00:00




 : I recently upgraded my kernel to 2.0.0, as well as teh assorted packages
 : required to get it to run. (gcc2.7.2, libc-5.2.18, binutils-2.6.0.14,
 : ld.so-1.7.14, sysvinit-2.62, util-linux-2.5)
 :
 : After the upgrade, whenever I sent mail I got the error message
 :  can't resolve symbol '_h_errno'

Did you remember to run ldconfig?  You are running more/less the same system
that I am running but I do not have the h_errno problems.

[...]
 : gdb reports the following:
 : Starting program: /usr/src/slrn/src/objs/./slrn
 : /usr/src/slrn/src/objs/./slrn: can't resolve symbol '_h_errno'
 :
 : Program received signal SIGSEGV, Segmentation fault.
 : 0x400025c0 in Blank_Hash ()

This is misleading because you did not upgrade to the version of gdb that
understands elf libraries.
--
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis

 
 
 

can't resolve symbol '_h_errno'

Post by Wakko Ellington Warner-Warner I » Sun, 14 Jul 1996 04:00:00





> : I recently upgraded my kernel to 2.0.0, as well as teh assorted packages
> : required to get it to run. (gcc2.7.2, libc-5.2.18, binutils-2.6.0.14,
> : ld.so-1.7.14, sysvinit-2.62, util-linux-2.5)
> :
> : After the upgrade, whenever I sent mail I got the error message
> :  can't resolve symbol '_h_errno'

>Did you remember to run ldconfig?  You are running more/less the same system
>that I am running but I do not have the h_errno problems.

weird. I did all that too, and I still get the _h_errno errors. I've
compiled a few things that work fine, but stuff like ircd and wine just
barf all over the place when I try to run them, and they exit quite
gracelessly with the errno message and a segfault.

any help is appreciated..

 
 
 

can't resolve symbol '_h_errno'

Post by Shaw Carruthe » Sun, 14 Jul 1996 04:00:00






>> : I recently upgraded my kernel to 2.0.0, as well as teh assorted packages
>> : required to get it to run. (gcc2.7.2, libc-5.2.18, binutils-2.6.0.14,
>> : ld.so-1.7.14, sysvinit-2.62, util-linux-2.5)
>> :
>> : After the upgrade, whenever I sent mail I got the error message
>> :  can't resolve symbol '_h_errno'

>>Did you remember to run ldconfig?  You are running more/less the same system
>>that I am running but I do not have the h_errno problems.

>weird. I did all that too, and I still get the _h_errno errors. I've
>compiled a few things that work fine, but stuff like ircd and wine just
>barf all over the place when I try to run them, and they exit quite
>gracelessly with the errno message and a segfault.

>any help is appreciated..

 I had this problem with libc 5.0.n but it was fixed by 5.2.18, so I
don't understand why you have a problem. Try 'nm /lib/libc.so.5 | grep
_h_errno' or somesuch to check that the symbol is defined ok.
--

London SW14 7JW UK
This is not a sig( with homage to Magritte).  
 
 
 

1. ifconfig: can't resolve symbol: '_h_errno'???

        I'm in trouble... I can't get ifconfig or route to wrok, thay
just tell me that they can't resolve symbol: '_h_errno'.

        Any ideas on what to do? Finding solution is really hard since I
can't use pppd and slattach anymore... Are they linked to some libraries
I need to update? What could be the reason? Error is clearly in files,
but I copied them from other computer, where they work fine, and they
still refused to work on mine. Help!

Hawk Out.

--
 - Head-butt it! Kick it in the groin! It can't be that hard to beat a devil!

2. setting prompt in .cshrc file

3. can't resolve symbol '_h_errno'

4. Tomcat and port 80 - access denied

5. XEmacs 19.13 ELF: can't resolve symbol '_h_errno'

6. grep to output matching line(s) but proceeding it with filename?

7. can't resolve symbol '_h_errno'

8. dell and netgear

9. can't resolve symbol: '_H_Errno'

10. can't resolve symbol '_h_errno'

11. Cant resolve symbol '_h_errno'

12. sendmail: unable to resolve symbol: _h_errno - What's wrong?

13. Netscape 3.0x and 'Can't resolve symbol'