Hello, Lawson,

 Indeed, I've ommited to tell you some things about the way I've installed
glibc. 
 I tryed to install glibc on top of a Slackware 3.6 system, which came
equipped with libc5 and egcs. So I've downloaded glibc 2.0.6, and followed
the instructions (compiling, backing up libc5 for compatibility,
installing the new libraries, running ldconfig on the new 'ld.so.conf'
file, and then modifying the 'specs' file for gcc). Well, the first
program that I've compiled in the new configuration was Ok. It runned
without a problem, and ldd confirmed that it was linked with glibc 2.0.6.
But c++ didn't worked on the same program, giving me the same error before
and after modifying the 'specs' file for egcs:

> > /usr/i586-pc-linux-gnulibc1/bin/ld: warning: libm.so.5, needed by
> > /usr/lib/libstdc++.so, may conflict with libm.so.6
> > /lib/libm.so.5: warning: erfcl is not implemented and will always fail
> > /lib/libm.so.5: warning: erfl is not implemented and will always fail
> > /lib/libm.so.5: undefined reference to `__getfpucw'
> > collect2: ld returned 1 exit status

 I haven't tryied anything else involving the libraries.... I wonder if I
need to install egcs all over again, the version compiled for glibc. I've
tryied that, but running the new 'c++' gave me seg. faults...
 
Thanks for any advice,
bogdan

> What exactly did you install, and what did you install it onto?  What on
> earth has egcs and libc5?  Maybe Slackware 3.0 and piecemeal upgrades?
> RedHat 4.2?
> 
> HMMM, maybe try a recent binutils that would know about glibc?  If you
> mess with c++, you will need libg++ and libstdc++ linked with
> glibc.  Those are normally packaged with the compiler.  If you have egcs
> handy, the install _should_ be clever enough to see which libg++ and
> libstdc++ you need.  I didn't have any such trouble compiling
> glibc-2.0.6 and installing it on top of slackware 3.4, but I'd already
> installed the glibc-2.0.5c from slackware/contrib, which might have
> greased the skids for it.  That is a long time ago, but I tink glibc
> install normally includes ld.so and fixing the compiler spec file.
> 
> Any time you mess with shared libraries, you need to run ldconfig before
> you try to use them.  Usually, an install will do that, but you didn't
> tell us who did which and with what and to whom, so I throw it with the
> other shotgun pellets.
> 
> Lawson
>         >< Microsoft free environment
> 
> This mail client runs on Wine.  Your mileage may vary.
> 
> ---cut here---
> 
> 
> 
> 
> 
> ________________________________________________________________
> YOU'RE PAYING TOO MUCH FOR THE INTERNET!
> Juno now offers FREE Internet Access!
> Try it today - there's no risk!  For your FREE software, visit:
> http://dl.www.juno.com/get/tagj.
> 


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to