Re: ld doesn't know about location of libjvm

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

 



On Sun, 29 Oct 2006 14:21:29 -0500, Thomas Fitzsimmons wrote:

> Hi,
> 
> Braden McDaniel wrote:
>> ld seems not to know about /usr/lib[64]/gcj-4.1.1; and as such cannot 
>> find libjvm.so without a -L flag. Is this deliberate or a bug?
> 
> This is deliberate.  You should be dlopen'ing libjvm.so rather than 
> linking to it directly.  To locate it, use 
> $JAVA_HOME/jre/lib/i386/client/libjvm.so like you would on other JVMs. 
> java-1.4.2-gcj-compat symlinks 
> /usr/lib/jvm/java/jre/lib/i386/client/libjvm.so to libgcj's libjvm 
> implementation.

Fair enough; but I don't want to force my users to set JAVA_HOME. Is this
prefix build-time discoverable?

-- 
Braden McDaniel                           e-mail: <braden@xxxxxxxxxxxxx>
<http://endoframe.com>                    Jabber: <braden@xxxxxxxxxx>

--
fedora-devel-java-list mailing list
fedora-devel-java-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux