[kaffe] Failed to locate native library "libnative"

Dave Littrell dlittrell at gmail.com
Tue Oct 5 00:10:43 PDT 2004


This is the system I'm running: 
------------------------------
bash-2.05b# uname -a
OpenBSD ghost.austin.rr.com 3.5 GENERIC#34 i386
bash-2.05b#

...And this is what we're working with:
---------------------------------------
bash-2.05b# kaffe -fullversion
Kaffe Virtual Machine
Copyright (c) 1996-2000
Transvirtual Technologies, Inc.  All rights reserved
Engine: Just-in-time v3   Version: 1.0.6   Java Version: 1.1
Configuration/Compilation options:
  Compile date  : Wed Mar 24 01:45:45 MST 2004
  Compile host  : i386.ports.openbsd.org
  Install prefix: /usr/local
  Thread system : unix-jthreads
  CC            : cc
  CFLAGS        : -O2 -pipe  -I/usr/local/include -Wall -Wstrict-prototypes
  LDFLAGS       : -export-dynamic
  ChangeLog head: Mon Jul 24 14:00:00 PDT 2000  Tim Wilkinson
<tim at transvirtual.com>
bash-2.05b#

This is the problem:
-------------------
bash-2.05b# javac
Failed to locate native library "libnative" in path:
        /usr/local/lib/kaffe:/usr/local/lib
Aborting.
bash-2.05b#

sure looks like it's there:
-------------------------
bash-2.05b# locate libnative
/usr/local/lib/kaffe/libnative.a
/usr/local/lib/kaffe/libnative.la
bash-2.05b#

ldconfig output: 
----------------
bash-2.05b# ldconfig -v
Adding /usr/lib/libasn1.so.13.0
Adding /usr/lib/libc.so.30.3
Adding /usr/lib/libcom_err.so.13.0
Adding /usr/lib/libcrypto.so.10.3
Adding /usr/lib/libcurses++.so.2.0
Adding /usr/lib/libcurses.so.9.0
Adding /usr/lib/libdes.so.8.0
Adding /usr/lib/libedit.so.2.0
Adding /usr/lib/libform.so.2.0
Adding /usr/lib/libg2c.so.7.0
Adding /usr/lib/libgssapi.so.2.1
Adding /usr/lib/libiberty.so.6.1
Adding /usr/lib/libkafs.so.13.0
Adding /usr/lib/libkrb5.so.13.0
Adding /usr/lib/libkvm.so.7.1
Adding /usr/lib/libm.so.1.0
Adding /usr/lib/libmenu.so.2.0
Adding /usr/lib/libncurses.so.9.0
Adding /usr/lib/libobjc.so.1.0
Adding /usr/lib/libocurses.so.4.0
Adding /usr/lib/libossaudio.so.2.0
Adding /usr/lib/libotermcap.so.4.0
Adding /usr/lib/libpanel.so.2.0
Adding /usr/lib/libpcap.so.2.1
Adding /usr/lib/libperl.so.8.1
Adding /usr/lib/libpthread.so.2.4
Adding /usr/lib/libreadline.so.1.0
Adding /usr/lib/libsectok.so.5.0
Adding /usr/lib/libskey.so.4.0
Adding /usr/lib/libssl.so.8.0
Adding /usr/lib/libstdc++.so.31.0
Adding /usr/lib/libtermcap.so.9.0
Adding /usr/lib/libtermlib.so.9.0
Adding /usr/lib/libusbhid.so.1.0
Adding /usr/lib/libutil.so.9.0
Adding /usr/lib/libwrap.so.3.0
Adding /usr/lib/libz.so.3.0
Totals: entries 37, buckets 37, string size 1161
bash-2.05b#

I even tried copying libnative.a to /usr/local/libnative.a 
No dice. 
Clearly, I am doing something dumb, but I don't know what it is. 

Suggestions? Flames? Haiku?




More information about the kaffe mailing list