compat-6x does not work when kernel has NO_KSE

Jiawei Ye leafy7382 at gmail.com
Wed Sep 12 02:21:50 PDT 2007


On 9/12/07, Kris Kennaway <kris at 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 at 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 at 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."


More information about the freebsd-ports mailing list