[kaffe] Native library load failure - debug output

Guilhem Lavaux guilhem at kaffe.org
Sun Jan 9 07:30:25 PST 2005


Michael Franz wrote:
> Hi,
> 
> When running (trying to run) kaffe on darwin/x86 I get the same native
> library load issue as on darwin/ppc (I think this is currently fixed),
> however, for the PPC version the paths are complete and on x86 there
> are relative.  Is there code that is making them complete for certain
> platforms?

Hi,

I guess this is the same problem I've encountered on openbsd. But the 
fix is different as darwin is using a 'dyld' system and not a 'ld' 
system. So here is patch to test.

Regards,

Guilhem.

> 
> x86
> ----
> Failed to locate native library "libnative" in path:
>         ../../libraries/clib/native/:../../libraries/clib/io/:../../libraries/clib/zip/:../../libraries/clib/nio/:../../libraries/clib/security/:../../libraries/clib/classpath/
> 
> ppc
> ---
> Failed to locate native library "libnative" in path:
>         /Users/mfranz/development/tinderbox/tinderclient/kaffe/kaffe/libraries/clib/native:/Users/mfranz/development/tinderbox/tinderclient/kaffe/kaffe/libraries/clib/net:/Users/mfranz/development/tinderbox/tinderclient/kaffe/kaffe/libraries/clib/io:/Users/mfranz/development/tinderbox/tinderclient/kaffe/kaffe/libraries/clib/nio:/Users/mfranz/development/tinderbox/tinderclient/kaffe/kaffe/libraries/clib/zip:/Users/mfranz/development/tinderbox/tinderclient/kaffe/kaffe/libraries/clib/management:/Users/mfranz/development/tinderbox/tinderclient/kaffe/kaffe/libraries/clib/security
> 
> 
> Michael
> 
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
> 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dyld_patch
Url: http://kaffe.org/pipermail/kaffe/attachments/20050109/40d48368/attachment-0002.txt 


More information about the kaffe mailing list