Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2007 17:21:47 +0800
From:      "Jiawei Ye" <leafy7382@gmail.com>
To:        "Kris Kennaway" <kris@freebsd.org>
Cc:        d@delphij.net, freebsd ports <freebsd-ports@freebsd.org>
Subject:   Re: compat-6x does not work when kernel has NO_KSE
Message-ID:  <c21e92e20709120221y1f4f5b15m5b3d6339edd4672d@mail.gmail.com>
In-Reply-To: <46E7ABC9.1030706@FreeBSD.org>
References:  <c21e92e20709102303i1847baaeh922daf9d3a0eae0c@mail.gmail.com> <46E6331C.7000208@delphij.net> <c21e92e20709110138uf92decan7ce0b44af13f1128@mail.gmail.com> <46E7ABC9.1030706@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 9/12/07, Kris Kennaway <kris@freebsd.org> wrote:
>
> How does symbol versioning affect this?  Are you saying that libmap no
> longer works with pre-7 libraries?
>
> Kris
>
This is what happens when I try to run diablo-jdk15 on a
symbol-versioned -current with NO_KSE kernel.

[leafy@business /usr/ports/java/diablo-jdk15]$
/usr/local/diablo-jdk1.5.0/jre/bin/java -version
Fatal error 'kse_create() failed
' at line 444 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 2)

So I added this to /etc/libmap.conf (this will use libthr.so.3)

[/usr/local/diablo-jdk1.5.0/jre/bin/java]
libpthread.so.2 libthr.so

[leafy@business /etc]$ /usr/local/diablo-jdk1.5.0/jre/bin/java -version
/libexec/ld-elf.so.1: /usr/lib/libthr.so: version LIBTHREAD_1_0
required by /usr/local/diablo-jdk1.5.0/jre/bin/java not found

I am not sure what is the correct way to fix this.

Jiawei

-- 
"If it looks like a duck, walks like a duck, and quacks like a duck,
then to the end user it's a duck, and end users have made it pretty
clear they want a duck; whether the duck drinks hot chocolate or
coffee is irrelevant."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c21e92e20709120221y1f4f5b15m5b3d6339edd4672d>