From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <109a0ec8bf194ca3ed16013d4ca7c5c3.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199712030727.AAA01231@ellpspace.math.ualberta.ca> Date: Wed, 03 Dec 1997 03:59:57 -0500 From: Uncle George Subject: Re: alpha linux appletviewer problem according to my machine: 1) redhat CD 4.2 alpha port ( the 6 cd set ) 2) using glibc-0.961212-5 ( libc.works came from the SRPMS on disk 1 ) 3) in src libc.works/elf/dl-load.c there is the error msg that is reported by u ( & others ) 3a) the ELF_WORDSIZE should not have been printed, its not defined in any of my .h's. i guess this is a cosmetic bug in the alpha/elf system of things 3b) it is ( in my src ) upset with the 5'th byte of the .so header. it should be a 2. u can use an od -c libawt.so | more to see if thats true. if it is a 2 then it matches what my glibc wants. 3c) maybe u can do an od -c on the libXm.so u created ( lesstiff/motif), tell me what byte 5 looks like. If they are both 2, then i'm confused - whats the likely hood that another 'lib' will have the same error message. If they are not the same, can u pre-compile the libc.works/elf/dl-load.c routine and see that is expected? 4) the sys on the machine is fairly pristine, i did have to get updates for the matrox II card though. I dont recollect getting anything else. Steve Stucki wrote: > I tried lesstif Ver 0.80, 0.81 and 0.82 and got the same error for each. > I noticed the source for lesstif is provided with V 0.80. Did you > change anything else besides just putting the lesstif shared libraries > in the /usr/local/lib directory? > > Maybe if I can recompile the libawt.so shared library this might help > with the problem? > > Also, my Alpha is one of the Multia pizza boxes (noname type for milo > and the kernel). Maybe there is an issue with different alpha boxes? > > Steve > > > -----Original Message----- > > From: Uncle George [SMTP:gatgul@voicenet.com] > > Sent: Thursday, November 20, 1997 6:15 AM > > To: Steve Stucki; java-linux@java.blackdown.org; axp-list@redhat.com > > Subject: Re: alpha linux appletviewer problem > > > > interesting, my copy of lesstif is .80 > > > > I have no idea what the ELF error is - any one else know who produces > > the > > error?? > > > > Steve Stucki wrote: > > > > > Ignore the last error problem I sent you. I added the symbolic link > > > libXm.so.0 and this seems to have moved the process along a little > > bit. > > > Now the error is: > > > > > > UU :ELF file class not __ELF_WORDSIZE - bit (libawt.so) > > > java.lang.UnsatisfiedLinkError: no awt in shared library path > > > ... > > > > > > ??? I don't know??? Maybe need to recompile something? I have > > RedHat > > > 4.2. The only libawt.so file that I have is the one in your > > > distribution. > > > > > > Steve > > > > > > > -----Original Message----- > > > > From: Uncle George [SMTP:gatgul@voicenet.com] > > > > Sent: Wednesday, November 19, 1997 1:51 AM > > > > To: Steve Stucki > > > > Cc: java-linux@java.blackdown.org > > > > Subject: Re: alpha linux appletviewer problem > > > > > > > > in general u have: > > > > > > > > 1) root directory ( whatever name ) > > > > 1a) root dir has bin, classes, and lib directories. > > > > 1b) LD_LIBRARY_PATH is also set in bin/.java_wrapper ( ie sh > > -x > > > > appletviewer ) > > > > > > > > 2) I'm not sure, at this moment, but the libawt.so is dynamically > > > > loaded/binded at run-time. > > > > only when java needs the awt. i'm not sure the relationship, > > but > > > > my > > > > setup has been always been 1a. > > > > > > > > 3) u got motif/lesstif in /usr/local/lib ? I have no static motif > > > > lib's, > > > > and cannot make a static libawt.so > > > > > > > > 4) can u load up any of the other lib's ( ie there is a > > libjava.so, > > > > so a > > > > java to anything should also pull in libjava.so. > > > > > > > > 5) ??? run outta idea's > > > > > > > > hope this is of some help > > > > > > > > Steve Stucki wrote: > > > > > > > > > I downloaded the Digital Alpha port of Linux (from Uncle > > George). > > > > It > > > > > works fine with non graphical Java programs. > > > > > However, when I try to run appletviewer, it complains that it > > cannot > > > > > find libawt.so in the library path. > > > > > The path to this file ($JAVA_HOME/lib/alpha/green_threads) is in > > my > > > > > LD_LIBRARY_PATH environment variable. > > > > > Does anybody know what I am doing wrong? > > > > > > > > > > Steve > > > > > > > > > > -- > > > > > More information on Java-Linux can be found at: > > > > > http://www.blackdown.org/java-linux.html > > > > > > > > > > This list is archived daily at: > > > > > http://www.blackdown.org/java-linux/archive/ > > > > > > > > > > To unsubscribe from this list: > > > > > send email to java-linux-request@java.blackdown.org with > > the > > > > > word 'unsubscribe' in the subject line. For additional > > > > assistance, > > > > > please contact karl@blackdown.org. > > > > > > > > > > > > > > -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com