Bug#277501: libjavascript-perl: Getting error message when declearing "use JavaScript;"

Frank Lichtenheld Frank Lichtenheld <djpig@debian.org>, 277501@bugs.debian.org
Thu, 21 Oct 2004 02:08:28 +0200


On Wed, Oct 20, 2004 at 03:44:28PM +0200, Ido Kanner wrote:
> When adding the 
> 	use JavaScript;
> 
> line, the code breaks with the message:
> Can't load '/usr/lib/perl5/auto/JavaScript/JavaScript.so' for module
> JavaScript: /usr/lib/perl5/auto/JavaScript/JavaScript.so: undefined
> symbol: JS_PropertyStub at /usr/lib/perl/5.8/DynaLoader.pm line 225.
>  at ./js1.pl line 3
>  Compilation failed in require at ./js1.pl line 3.
>  BEGIN failed--compilation aborted at ./js1.pl line 3.

The problem is reproducable here. Btw, the whole package seems severly
broken: It only depends on libjs0 on i386, not on all other arches, it
not even build-depends on libjs0-dev, but on libsmjs-dev, so this is
probably caused by the package not correctly choosing the javascript
library if more than one is available.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/