SWT runtime library not found on GTK under 3.1M5A [message #451857] |
Wed, 09 March 2005 19:14 |
Mark Powell Messages: 14 Registered: July 2009 |
Junior Member |
|
|
Is anyone else having this problem?
Action: compile a SWT snippet, try to run it as an SWT application from the
Eclipse 3.1M5A workbench on Linux/GTK.
Result: java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3116 in
java.library.path
Now I _know_ that the LD_LIBRARY_PATH needs to be set to pick this up, so
this isn't a
newbie lack of knowledge on my part. It may be a stupid mistake on my part,
but it isn't
the stupid mistake that's on the SWT FAQ :)
The funny thing is is that when I set the java.library.path to include the
directory where the swt-pi library
sits, it still can't find it. Still funnier is that in this directory there
is a library called:
libswt-pi-gtk-3123.so
which is different from what it is looking for above (gtk-3116).
So what's up with that?
Thanks,
Mark Powell
--
(My correspondence does not reflect the opinions of the Jet Propulsion
Laboratory, NASA, or Caltech, etc., etc.)
|
|
|
|
Re: SWT runtime library not found on GTK under 3.1M5A [message #451860 is a reply to message #451857] |
Wed, 09 March 2005 19:47 |
Mark Powell Messages: 14 Registered: July 2009 |
Junior Member |
|
|
Additional to my original post:
I see that in Eclipse 3.1M4 the gtk-3116 library is the version that shipped
with the SWT plugin.
Also, running a SWT snippet under 3.1M4 on Linux/GTK works fine.
Mark
"Mark Powell" <Mark.Powell@jpl.nasa.gov> wrote in message
news:d0nhu2$csi$1@www.eclipse.org...
> Is anyone else having this problem?
>
> Action: compile a SWT snippet, try to run it as an SWT application from
> the Eclipse 3.1M5A workbench on Linux/GTK.
> Result: java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3116 in
> java.library.path
>
> Now I _know_ that the LD_LIBRARY_PATH needs to be set to pick this up, so
> this isn't a
> newbie lack of knowledge on my part. It may be a stupid mistake on my
> part, but it isn't
> the stupid mistake that's on the SWT FAQ :)
>
> The funny thing is is that when I set the java.library.path to include the
> directory where the swt-pi library
> sits, it still can't find it. Still funnier is that in this directory
> there is a library called:
> libswt-pi-gtk-3123.so
>
> which is different from what it is looking for above (gtk-3116).
>
> So what's up with that?
>
> Thanks,
> Mark Powell
>
> --
> (My correspondence does not reflect the opinions of the Jet Propulsion
> Laboratory, NASA, or Caltech, etc., etc.)
>
|
|
|
Re: SWT runtime library not found on GTK under 3.1M5A [message #451862 is a reply to message #451857] |
Wed, 09 March 2005 19:58 |
Eclipse User |
|
|
|
Originally posted by: paull.NOSPAMcodetelligence.com
Check that your project properties Java Build Path!Libraries list of swt
libs has them in the M5a directories and not the M4 directories?
Paul
"Mark Powell" <Mark.Powell@jpl.nasa.gov> wrote in message
news:d0nhu2$csi$1@www.eclipse.org...
> Is anyone else having this problem?
>
> Action: compile a SWT snippet, try to run it as an SWT application from
> the Eclipse 3.1M5A workbench on Linux/GTK.
> Result: java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3116 in
> java.library.path
>
> Now I _know_ that the LD_LIBRARY_PATH needs to be set to pick this up, so
> this isn't a
> newbie lack of knowledge on my part. It may be a stupid mistake on my
> part, but it isn't
> the stupid mistake that's on the SWT FAQ :)
>
> The funny thing is is that when I set the java.library.path to include the
> directory where the swt-pi library
> sits, it still can't find it. Still funnier is that in this directory
> there is a library called:
> libswt-pi-gtk-3123.so
>
> which is different from what it is looking for above (gtk-3116).
>
> So what's up with that?
>
> Thanks,
> Mark Powell
>
> --
> (My correspondence does not reflect the opinions of the Jet Propulsion
> Laboratory, NASA, or Caltech, etc., etc.)
>
|
|
|
|
Re: SWT runtime library not found on GTK under 3.1M5A [message #451866 is a reply to message #451862] |
Wed, 09 March 2005 22:26 |
Mark Powell Messages: 14 Registered: July 2009 |
Junior Member |
|
|
Paul,
Thanks, your guess was correct...someone else on my team had put the swt-pi
jar file on the build path Libraries list to work around a bug with building
plug-ins where folks are extending Canvas (this one is already filed in
Bugzilla). I removed it temporarily and my problem is solved.
Thanks much!
Mark
"Paul L" <paull@NOSPAMcodetelligence.com> wrote in message
news:d0nkf9$pfg$1@www.eclipse.org...
> Check that your project properties Java Build Path!Libraries list of swt
> libs has them in the M5a directories and not the M4 directories?
>
> Paul
> "Mark Powell" <Mark.Powell@jpl.nasa.gov> wrote in message
> news:d0nhu2$csi$1@www.eclipse.org...
>> Is anyone else having this problem?
>>
>> Action: compile a SWT snippet, try to run it as an SWT application from
>> the Eclipse 3.1M5A workbench on Linux/GTK.
>> Result: java.lang.UnsatisfiedLinkError: no swt-pi-gtk-3116 in
>> java.library.path
>>
>> Now I _know_ that the LD_LIBRARY_PATH needs to be set to pick this up, so
>> this isn't a
>> newbie lack of knowledge on my part. It may be a stupid mistake on my
>> part, but it isn't
>> the stupid mistake that's on the SWT FAQ :)
>>
>> The funny thing is is that when I set the java.library.path to include
>> the directory where the swt-pi library
>> sits, it still can't find it. Still funnier is that in this directory
>> there is a library called:
>> libswt-pi-gtk-3123.so
>>
>> which is different from what it is looking for above (gtk-3116).
>>
>> So what's up with that?
>>
>> Thanks,
>> Mark Powell
>>
>> --
>> (My correspondence does not reflect the opinions of the Jet Propulsion
>> Laboratory, NASA, or Caltech, etc., etc.)
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03127 seconds