> /usr/local/bin/perl5.10.0: symbol lookup error:
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/auto/Time/HiRes/HiRes.so:
> undefined symbol: Perl_Tstack_sp_ptr

Argh... yeah... I knew it was more complicated than this. It's still trying to 
load perl 5.8.x modules, as SME is explicitely setting the PERL5LIB environment 
variable. I therefore have patched one more file. Here's my full diff:


Index: Slim/bootstrap.pm
===================================================================
--- Slim/bootstrap.pm   (revision 29510)
+++ Slim/bootstrap.pm   (working copy)
@@ -140,6 +140,7 @@
                $libPath,
        );

+...@inc = grep { $_ !~ /5\.8/ } @INC;
        $d_startup && printf("Got \...@inc containing:\n%s\n\n", join("\n", 
@INC));

        # This works like 'use lib'
Index: slimserver.pl
===================================================================
--- slimserver.pl       (revision 29510)
+++ slimserver.pl       (working copy)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl5.10.0 -w

  # Squeezebox Server Copyright 2001-2009 Logitech.
  # This program is free software; you can redistribute it and/or
Index: scanner.pl
===================================================================
--- scanner.pl  (revision 29510)
+++ scanner.pl  (working copy)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl5.10.0 -w

The change to bootstrap.pm will simply remove all 5.8 related paths from the 
include path.

I'll update my page accordingly. Thanks for testing!

-- 

Michael
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to