swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem running Java Swarm on FreeBSD


From: Horance Chou
Subject: Re: Problem running Java Swarm on FreeBSD
Date: Thu, 25 May 2000 00:34:51 +0800


"Marcus G. Daniels" wrote:

> HC> # javaswarm StartHeatbugs -b /usr/local/lib/libjavaswarm.so:
> HC> Undefined symbol "_activity_current" (libjavaswarm.so) Exception
>
> libjavaswarm.so names a bunch of shared libraries as dependencies.
> _activity_current is in libactivity.so.  Maybe there is something
> different about the way FreeBSD handles these dependencies.
>
> "ldd libjavaswarm.so" will tell you what dependencies exist.
>

I've tried that before:

# ldd /usr/local/lib/libjavaswarm.so
/usr/local/lib/libjavaswarm.so:
/usr/local/lib/libjavaswarm.so: Exec format error
/usr/local/lib/libjavaswarm.so: exit status 1


>
> HC> I noticed that libkaffeswarm.dll on Windows platform contains all
> HC> symbols of other libraries.  Maybe it's an "workaround" for the
> HC> linking problem?
>
> Windows has a different model for dynamic libraries.
> All symbols must be resolved in a single file, whereas with Unix (e.g. ELF)
> much is done at runtime.
>

FreeBSD 4.0 is ELF environment now.
I've heard something about dlload problem of FreeBSD:

(Quote form a committer in FreeBSD team)
"I think it's a bug of FreeBSD dlload.
It's ok when using dynamic shared object (DSO) in a program,
but the program often crashed when the DSO loaded by this program loads other
DSO.
For example: apache -> php -> mysql,  gtk -> gdk_imlib -> png.
And that's why I build gdkimlib statically."

But JVM won't accept static linked libraries, right?
That's why I'm trying to build a libraries with all symbols.

Thanks! and sorry for my poor english. :P
Horance Chou

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]