Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 1999 21:40:05 -0400 (EDT)
From:      Chuck Robey <chuckr@picnic.mat.net>
To:        FreeBSD-java@freebsd.org
Subject:   getting rmic going
Message-ID:  <Pine.BSF.4.10.9904232134050.378-100000@picnic.mat.net>

next in thread | raw e-mail | index | archive | help
I have to do some compiling of java rmic stuff, and I wrote my basic
classes (just enough really to do minimal testing) and tried to run rmic
on it, to create the _skel and _stub files.  I got an error saying that
no library path was set.  I hadn't had LD_LIBRARY_PATH set, so I set it,
and got:

picnic:/usr2/chuckr/doc/cmsc433/p5:182 >rmic -d . ClientImpl
Failed to locate native library in path:

/usr/lib:/usr/local/lib:/usr/X11R6/lib
Aborting.

So I stuck the path to the only .so files in /usr/local/java I could
find, and retried it:

picnic:/usr2/chuckr/doc/cmsc433/p5:182 >rmic -d . ClientImpl
Failed to locate native library in path:

/usr/lib:/usr/local/lib:/usr/X11R6/lib:/usr/local/java/lib/i386/green_threads
Aborting.

Hmmm.  Oh, this stuff is aout-based.  OK, I became root, and set
OBJFORMAT to aout, and then ldconfig'ed the green_threads dir in, and
verified it with a second ldconfig -r.  Tried running rmic again, no
change.

What am I doing wrong, is rmic working for other folks?

Please don't suggest Corba, I didn't pick RMI, my instructor did.


----------------------------+-----------------------------------------------
Chuck Robey                 | Interests include any kind of voice or data 
chuckr@picnic.mat.net       | communications topic, C programming, and Unix.
213 Lakeside Drive Apt T-1  |
Greenbelt, MD 20770         | I run picnic (FreeBSD-current)
(301) 220-2114              | and jaunt (Solaris7).
----------------------------+-----------------------------------------------






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




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