Probably you need to add it to your LD_LIBRARY_PATH...
On 9/19/06, Geir Magnusson Jr. <[EMAIL PROTECTED]> wrote:
Good catch.
dlopen() returns null, but the package manager claims xmu is
installed, so clearly it's lying, or something is misconfigured.
Thanks for the hint.
geir
On Sep 19, 2006, at 6:30 AM, Oleg Khaschansky wrote:
> Do you have libxmu? Probably, fails either
> void* lib = dlopen("libxmu.so", RTLD_LAZY);
> or the corresponding
> dlsym(lib, "XmuLookupStandardColormap");
> Could you, please, check if these dlopen/dlsym return non zero on
> your system?
>
> On 9/19/06, Geir Magnusson Jr <[EMAIL PROTECTED]> wrote:
>> Ok, so I was really tired last night when I reported this. I've
>> done a
>> little more homeork, and I get the same crash with J9. The stack
>> trace
>> is :
>>
>>
>> Generated system dump: {default OS core name}
>>
>> Thread: main (priority 5) (LOCATION OF ERROR)
>> NATIVE
>> org/apache/harmony/awt/nativebridge/linux/
>> X11.XmuLookupStandardColormap(JIJIJII)I
>> 00000080
>> org/apache/harmony/awt/gl/linux/
>> XGraphicsConfiguration.obtainRGBColorMap()J
>> 00000015
>> org/apache/harmony/awt/gl/linux/XGraphicsConfiguration.<init>(Lorg/
>> apache/harmony/awt/gl/linux/XGraphicsDevice
>> ;Lorg/apache/harmony/awt/nativebridge/linux/X11$XVisualInfo;)V
>> 000000aa org/apache/harmony/awt/gl/linux/
>> XGraphicsDevice.createConfigs()V
>> 00000008
>> org/apache/harmony/awt/gl/linux/XGraphicsDevice.getConfigs()[Lorg/
>> apache/harmony/awt/gl/linux/XGraphicsConfigu
>> ration;
>> 00000001
>> org/apache/harmony/awt/gl/linux/
>> XGraphicsDevice.getDefaultConfiguration()Ljava/awt/
>> GraphicsConfiguration;
>> 0000000f
>> java/awt/Window.getGraphicsConfiguration(Ljava/awt/
>> GraphicsConfiguration;)Ljava/awt/GraphicsConfiguration;
>> 00000081
>> java/awt/Window.<init>(Ljava/awt/Window;Ljava/awt/
>> GraphicsConfiguration;)V
>> 00000003
>> java/awt/Frame.<init>(Ljava/lang/String;Ljava/awt/
>> GraphicsConfiguration;)V
>> 00000003 java/awt/Frame.<init>(Ljava/lang/String;)V
>> 00000003 CaffeineMarkFrame.<init>(Ljava/applet/Applet;Z)V
>> 00000006 CaffeineMarkApp.main([Ljava/lang/String;)V
>>
>>
>> Anyone have any idea?
>>
>> geir
>>
>>
>> Geir Magnusson Jr wrote:
>> > On Ubuntu 6, I was trying to run CaffineMark to see where we are
>> w/ the
>> > lastest set of patches and the big java 5 and other fix patch.
>> release
>> > build, r447024
>> >
>> > top of the stack trace is
>> >
>> Java_org_harmony_awt_nativebridge_linux_X11_XmuLookupStandardColormap
>> >
>> > Can anyone repeat this error?
>> >
>> > geir
>> >
>> >
>> ---------------------------------------------------------------------
>> > Terms of use : http://incubator.apache.org/harmony/mailing.html
>> > To unsubscribe, e-mail: harmony-dev-
>> [EMAIL PROTECTED]
>> > For additional commands, e-mail: harmony-dev-
>> [EMAIL PROTECTED]
>> >
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: harmony-dev-
>> [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]