Re: problem with perlapp 7.3.0 on Linux
by Vassiliy Truskov other posts by this author
Nov 18 2008 11:40AM messages near this date
RE: problem with perlapp 7.3.0 on Linux
|
RE: problem with perlapp 7.3.0 on Linux
Hi, Jan
Bingo! The directory permission did the trick. I installed everything as
root and then tried to access perlapp as regular user.
By any reason, there were two files with wrong permission, after PDK was
installed:
titan> ls -la /opt/pdk/lib
total 11528
drwxr-xr-x 3 root root 4096 2008-11-17 18:22 .
drwxr-xr-x 6 root root 4096 2008-11-17 18:22 ..
-rwxr-xr-x 1 root root 10391 2008-10-01 20:23 chklibperl
lrwxrwxrwx 1 root root 22 2008-11-17 18:22 icons -> ../share/icons/hicolor
-r-xr-xr-x 1 root root 929609 2008-10-01 20:23 libperl56.so
*-r-x------ 1 root root 1380826 2008-10-01 20:21 libperl.so*
-rwxr-xr-x 1 root root 262224 2008-10-01 20:26 pai
-rwxr-xr-x 1 root root 86172 2008-10-01 20:23 pdkcheck
-rwxr-xr-x 1 root root 86164 2008-10-01 20:23 pdkcheck58
-rwxr-xr-x 1 root root 2430460 2008-10-01 20:23 pdkcheck_bundled
-rwxr-xr-x 1 root root 2756248 2008-10-01 20:23 pdklib.so
drwxr-xr-x 3 root root 4096 2008-01-20 05:00 tcl
*-r-x------ 1 root root 3794437 2008-10-01 20:26 tkkit.so*
As soon as I changed it to 755 for both files, it starts working for
regular user id as well as for the root.
titan> ls -la /opt/pdk/lib
total 11528
drwxr-xr-x 3 root root 4096 2008-11-17 18:22 .
drwxr-xr-x 6 root root 4096 2008-11-17 18:22 ..
-rwxr-xr-x 1 root root 10391 2008-10-01 20:23 chklibperl
lrwxrwxrwx 1 root root 22 2008-11-17 18:22 icons -> ../share/icons/hicolor
-r-xr-xr-x 1 root root 929609 2008-10-01 20:23 libperl56.so
-rwxr-xr-x 1 root root 1380826 2008-10-01 20:21 libperl.so
-rwxr-xr-x 1 root root 262224 2008-10-01 20:26 pai
-rwxr-xr-x 1 root root 86172 2008-10-01 20:23 pdkcheck
-rwxr-xr-x 1 root root 86164 2008-10-01 20:23 pdkcheck58
-rwxr-xr-x 1 root root 2430460 2008-10-01 20:23 pdkcheck_bundled
-rwxr-xr-x 1 root root 2756248 2008-10-01 20:23 pdklib.so
drwxr-xr-x 3 root root 4096 2008-01-20 05:00 tcl
-rwxr-xr-x 1 root root 3794437 2008-10-01 20:26 tkkit.so
titan> perlapp -version
PerlApp 7.3.0 build 287519
Copyright (C) 1998-2008 ActiveState Software Inc. All rights reserved.
Standard license for ...
Thanks for you help,
Cheers,
Vassiliy
Vassiliy Truskov
SAND R&D Team
SAND Technology Inc
Jan Dubois wrote:
> On Tue, 18 Nov 2008, Vassiliy Truskov wrote:
>
> > I installed ActiveState perl 5.8.8.824 and PDK-Pro-7.3.0.287519-linux in
> > default directories:
> > titan> which perl
> > /opt/ActivePerl-5.8/bin/perl
> >
> > and
> >
> > titan> which perlapp
> > /opt/pdk/bin/perlapp
> > titan>
> >
> > I didn't get any error during installation.
> > If I run perlapp from command line, I got following error:
> > titan> perlapp
> > Panic: '/opt/ActivePerl-5.8/lib/CORE/libperl.so' is not an ActivePerl
> > 5.10 library
> >
>
> Weird. The message is certainly correct: that libperl.so is a 5.8
> library and not 5.10, but PerlApp should not have attempted to load
> it.
>
> I assume you installed as root but are now running as a normal user. You
> could try to run `perlapp --version --verbose` once as root to see if
> that works. In that case I would suspect that there is something wrong
> with the permissions along the path to /opt/pdk/lib/libperl.so, which is
> the library that PerlApp is supposed to load. Make sure that the
> directories /opt, /opt/pdk, and /opt/pdk/lib as well as the libperl.so
> file have the read and execute bits set for your current user. If these
> directories have unexpected permissions, check if you have an unusual
> umask on that system.
>
> The problem may still be something else though; if directory permissions
> are the problem, then you shouldn't have been able to invoke
> /opt/pdk/bin/perlapp either.
>
> Other things I would like to know:
>
> * What is the value of your PATH variable?
> * Do you have any environment variables set that start with PERL?
> * Did you set up a default perl version for the PDK?
> * If yes, where does /opt/pdk/etc/pdk-perl point to?
>
> Cheers,
> -Jan
>
>
Thread:
Vassiliy Truskov
Jan Dubois
Vassiliy Truskov
Jan Dubois
|