RE: Mersenne: Error 2250 using Linux mprime

1999-12-02 Thread Willmore, David

All,

Sorry to followup to this months later, but I just moved some of my more
'embedded' linux system to 19.1 and hit my first 2250 problem.  I added the
EntropiaIP line and that didn't fix things.  So, I took a look in /lib.
Strangely, I found a libnss_dns-2.0.7.so and a symlink pointing to it
called, of all things, libnss_dns.so.1, not ".2" like I would have expected.
So, I created a ".2" symlink and, what do you know, it works.  I don't know
if the EntropiaIP line is necessary with this fix, but I'm not going to
touch it as long as it works. :)

BTW, the configuration is a stock RH5.2 system.  Just FYI for anyone looking
for the easiest fix.

Cheers,
David

> -Original Message-
> From: George Woltman [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, October 25, 1999 8:48 PM
> To:   [EMAIL PROTECTED]
> Subject:  Mersenne: Error 2250 using Linux mprime
> 
> Hi all,
> 
> This was just reported to me.  Others may find it useful.
> 
> Regards,
> George
> 
> I took the liberty of looking at this.  It appears that even w/ "gcc
> -static", the new glibc name resolution stuff contains explicit uses of
> several dynamic libraries.  If these libraries aren't present,
> gethostbyname(3) will silently fail, yielding the 2250 errors. 
> 
> There's a discussion of this in the usenet archives at:
> 
> http://x35.deja.com/getdoc.xp?AN=414019916&CONTEXT=940892973.188547100&hit
> nu
> m=0
> 
> I worked around this by moving the following .so's to my bootdisk for my
> ips machines:
> 
> libc.so.6
> ld-linux.so.2
> libnss_dns.so.2
> libresolv.so.2
> 
> This may not be ideal for everyone. 
> 
> 
> 
> _
> Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
> Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers
_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: Error 2250 using Linux mprime

1999-10-26 Thread Steinar H . Gunderson

On Mon, Oct 25, 1999 at 09:48:00PM -0400, George Woltman wrote:
>I took the liberty of looking at this.  It appears that even w/ "gcc
>-static", the new glibc name resolution stuff contains explicit uses of
>several dynamic libraries.  If these libraries aren't present,
>gethostbyname(3) will silently fail, yielding the 2250 errors.

Note that this is _intentional_ -- see the glibc faqs (haven't read the
usenet discussion you're referring to). You _can_, however, compile NSS
statically, although that defeats most of the purpose. This might be an
idea for mprime v19.1?

/* Steinar */
_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Mersenne: Error 2250 using Linux mprime

1999-10-25 Thread George Woltman

Hi all,

This was just reported to me.  Others may find it useful.

Regards,
George

I took the liberty of looking at this.  It appears that even w/ "gcc
-static", the new glibc name resolution stuff contains explicit uses of
several dynamic libraries.  If these libraries aren't present,
gethostbyname(3) will silently fail, yielding the 2250 errors. 

There's a discussion of this in the usenet archives at:

http://x35.deja.com/getdoc.xp?AN=414019916&CONTEXT=940892973.188547100&hitnu
m=0

I worked around this by moving the following .so's to my bootdisk for my
ips machines:

libc.so.6
ld-linux.so.2
libnss_dns.so.2
libresolv.so.2

This may not be ideal for everyone. 



_
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers