Trouble with glibc2 (and jdk1.1.6) on Linux

Trouble with glibc2 (and jdk1.1.6) on Linux

Post by James Bear » Sun, 02 Aug 1998 04:00:00



Hi.

I'm having trouble getting glibc2 to work with jdk1.1.6.  I'll start by
describing what happens when I try to use it.

java works ok, but anything else (javac, etc) exits with this:

Quote:> SIGSEGV   11*  segmentation violation

> Full thread dump:
> Monitor Cache Dump:
> Registered Monitor Dump:
>     Monitor IO lock: <unowned>
>     Child death monitor: <unowned>
>     Event monitor: <unowned>
>     I/O monitor: <unowned>
>     Alarm monitor: <unowned>
>     Monitor registry: <unowned>
> Thread Alarm Q:

I can only assume I've screwed up the installation of glibc2.  I set it
up as a test library, and followed the instructions located at
http://www.imaxx.net/~thrytis/glibc/Glibc2-HOWTO-4.html.  I can run the
the demo hello world program, but this is what I get from STDERR from
running ldconfig -D:

Quote:> ldconfig: warning: /usr/i486-linuxglibc2/lib/libc-2.0.6.so has inconsistent soname (libc.so.6)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libdb-2.0.6.so has inconsistent soname (libdb.so.2)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libBrokenLocale-2.0.6.so has inconsistent soname (libBrokenLocale.so.1)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libm-2.0.6.so has inconsistent soname (libm.so.6)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libutil-2.0.6.so has inconsistent soname (libutil.so.1)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libcrypt-2.0.6.so has inconsistent soname (libcrypt.so.1)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libnss_files-2.0.6.so has inconsistent soname (libnss_files.so.1)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libnss_db-2.0.6.so has inconsistent soname (libnss_db.so.1)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libresolv-2.0.6.so has inconsistent soname (libresolv.so.2)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libnss_dns-2.0.6.so has inconsistent soname (libnss_dns.so.1)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libnss_nis-2.0.6.so has inconsistent soname (libnss_nis.so.1)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libnsl-2.0.6.so has inconsistent soname (libnsl.so.1)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libnss_compat-2.0.6.so has inconsistent soname (libnss_compat.so.1)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libpthread-0.7.so has inconsistent soname (libpthread.so.0)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/libdl-2.0.6.so has inconsistent soname (libdl.so.2)
> ldconfig: warning: /usr/i486-linuxglibc2/lib/ld-2.0.6.so has inconsistent soname (ld-linux.so.2)

Can anyone provide some guidance as to what is wrong, and how I can fix
it?
Thanks
James
 
 
 

Trouble with glibc2 (and jdk1.1.6) on Linux

Post by Juergen Kreilede » Tue, 04 Aug 1998 04:00:00



> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libc-2.0.6.so has inconsistent soname (libc.so.6)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libdb-2.0.6.so has inconsistent soname (libdb.so.2)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libBrokenLocale-2.0.6.so has inconsistent soname (libBrokenLocale.so.1)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libm-2.0.6.so has inconsistent soname (libm.so.6)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libutil-2.0.6.so has inconsistent soname (libutil.so.1)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libcrypt-2.0.6.so has inconsistent soname (libcrypt.so.1)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libnss_files-2.0.6.so has inconsistent soname (libnss_files.so.1)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libnss_db-2.0.6.so has inconsistent soname (libnss_db.so.1)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libresolv-2.0.6.so has inconsistent soname (libresolv.so.2)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libnss_dns-2.0.6.so has inconsistent soname (libnss_dns.so.1)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libnss_nis-2.0.6.so has inconsistent soname (libnss_nis.so.1)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libnsl-2.0.6.so has inconsistent soname (libnsl.so.1)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libnss_compat-2.0.6.so has inconsistent soname (libnss_compat.so.1)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libpthread-0.7.so has inconsistent soname (libpthread.so.0)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/libdl-2.0.6.so has inconsistent soname (libdl.so.2)
> > ldconfig: warning: /usr/i486-linuxglibc2/lib/ld-2.0.6.so has inconsistent soname (ld-linux.so.2)

> Can anyone provide some guidance as to what is wrong, and how I can fix
> it?
> Thanks
> James

These are only warnings. ld.so-1.9.9 does not show them anymore.

What version of 1.1.6 are you running? v2? libc or glibc version?

        Jrgen

--
Juergen Kreileder, Universitaet Dortmund, Lehrstuhl Informatik V
Baroper Strasse 301, D-44221 Dortmund, Germany
Phone: ++49 231/755-5806, Fax: ++49 231/755-5802

 
 
 

Trouble with glibc2 (and jdk1.1.6) on Linux

Post by James Bear » Wed, 05 Aug 1998 04:00:00


Quote:> > > ldconfig: warning: /usr/i486-linuxglibc2/lib/ld-2.0.6.so has inconsistent soname (ld-linux.so.2)

> These are only warnings. ld.so-1.9.9 does not show them anymore.

So these aren't a sign of anything wrong, and should be ignored?

Quote:> What version of 1.1.6 are you running? v2? libc or glibc version?

Sorry, I realise that I didn't put that in my initial post.  v2.  I'm
installing glibc especially for the JDK, so I'm using the glibc version
of the JDK.

Which still leaves us with the fatal:

Quote:> SIGSEGV   11*  segmentation violation
...
> Thread Alarm Q:

Any ideas?

James

 
 
 

Trouble with glibc2 (and jdk1.1.6) on Linux

Post by James Bear » Wed, 05 Aug 1998 04:00:00


Quote:> > > ldconfig: warning: /usr/i486-linuxglibc2/lib/ld-2.0.6.so has inconsistent soname (ld-linux.so.2)

> These are only warnings. ld.so-1.9.9 does not show them anymore.

So these aren't a sign of anything wrong, and should be ignored?

Quote:> What version of 1.1.6 are you running? v2? libc or glibc version?

Sorry, I realise that I didn't put that in my initial post.  v2.  I'm
installing glibc especially for the JDK, so I'm using the glibc version
of the JDK.

Which still leaves us with the fatal:

Quote:> SIGSEGV   11*  segmentation violation
...
> Thread Alarm Q:

Any ideas?

James

 
 
 

Trouble with glibc2 (and jdk1.1.6) on Linux

Post by Sng Swee Kea » Sat, 08 Aug 1998 04:00:00



> Can anyone provide some guidance as to what is wrong, and how I can fix
> it?

I was having the same kind of problems you have, after upgrading to
libc5.4.44 and libdl1.9.9. I can't tell you what went wrong, but
something drove me to try replacing the libc.so.5 and libdl.so.1 under
the <jdk>/lib/i686/green_threads/ with copies of the ones I have under
/lib. I'm not sure why that worked, but it did. At least for me.

--------
.Keat.

 
 
 

1. Trouble with jdk1.1.6 on Slackware 2.0.30

Well I'm puzzled.  I installed the glibc version and got:

/blah/blah.../javac: blah/blah.../bin/i586/green_threads/java: No such
file or directory

But then I installed jikes on top of it, and jikes works fine.
Maybe I should quit while I'm ahead, but I just know this is
going to jump up and bite me...

2. What the story on VIA chipset athlons, and DMA

3. JDK1.1.6

4. Work @ lunch

5. Blackdown JDK1.1.6 and Swing

6. PLiP and Bi-directional port

7. jdk1.1.6 installing help

8. KISS Keep It Simple Stupid............

9. jdk1.1.6 blackdown

10. jdk1.1.6 install problems

11. setting CLASSPATH for JDK1.1.6

12. Upgrade from 1.6 Release to 1.6 Stable (daily releng-snapshot) with binaries

13. Trouble compiling OLEO 1.6