From: jamesromeongmail.com on
On 11.2, after doing some package updates, one-click install has
stopped working:
Error loading language plugin /usr/lib64/YaST2/plugin/
libpy2lang_perl.so: libperl.so: cannot open shared object file: No
such file or directory
I had
jargw:/usr/lib64/YaST2/plugin # ls -l libpy2lang_perl.so.2.0.0
-rwxr-xr-x 1 root root 147704 2009-11-11 00:42 libpy2lang_perl.so.
2.0.0
which I linked to libpy2lang_perl.so
jargw:/usr/lib64/YaST2/plugin # ls -l libpy2lang_perl.so
lrwxrwxrwx 1 root root 24 2009-11-24 13:39 libpy2lang_perl.so ->
libpy2lang_perl.so.2.0.0

but on-click still says it cannot open it.

How do I fix this?

Thanks,
Jim
From: jamesromeongmail.com on
On Nov 24, 2:05 pm, "jamesromeongmail.com" <jamesr...(a)gmail.com>
wrote:
> On 11.2, after doing some package updates, one-click install has
> stopped working:
> Error loading language plugin /usr/lib64/YaST2/plugin/
> libpy2lang_perl.so: libperl.so: cannot open shared object file: No
> such file or directory
> I had
> jargw:/usr/lib64/YaST2/plugin # ls -l libpy2lang_perl.so.2.0.0
> -rwxr-xr-x 1 root root 147704 2009-11-11 00:42 libpy2lang_perl.so.
> 2.0.0
> which I linked to libpy2lang_perl.so
> jargw:/usr/lib64/YaST2/plugin # ls -l libpy2lang_perl.so
> lrwxrwxrwx 1 root root 24 2009-11-24 13:39 libpy2lang_perl.so ->
> libpy2lang_perl.so.2.0.0
>
> but on-click still says it cannot open it.
>
> How do I fix this?
>
> Thanks,
> Jim

I think the problem may be related to perl versions. yast2-perl-
bindings-2.18.0-3.2 is installed, but perl 5.10.0.72.5 is installed.
When I use
smart to upgrade to 5.10.1-2.7, I get
file /usr/bin/perl from install of perl-base-5.10.1-2.7.i586
conflicts with
file from package perl-base-5.10.0-72.5.x86_64
file /usr/bin/suidperl from install of perl-base-5.10.1-2.7.i586
conflicts
with file from package perl-base-5.10.0-72.5.x86_64
file /usr/share/man/man1/perl.1.gz from install of perl-
base-5.10.1-2.7.i586
conflicts with file from package perl-base-5.10.0-72.5.x86_64

If I uninstall the old one. lots of dependent files also get
uninstalled,
and I don't know how to get them all back. So how do I force an
update (if that is really the problem)?

Thanks,
Jim

From: Mark S Bilk on
On Nov 24, 11:05 am, "jamesromeongmail.com" <jamesr...(a)gmail.com>
wrote:
> I had
> jargw:/usr/lib64/YaST2/plugin # ls -l libpy2lang_perl.so.2.0.0
> -rwxr-xr-x 1 root root 147704 2009-11-11 00:42 libpy2lang_perl.so.
> 2.0.0
> which I linked to libpy2lang_perl.so
> jargw:/usr/lib64/YaST2/plugin # ls -l libpy2lang_perl.so
> lrwxrwxrwx 1 root root 24 2009-11-24 13:39 libpy2lang_perl.so ->
> libpy2lang_perl.so.2.0.0
>
> but on-click still says it cannot open it.
> How do I fix this?

The dynamic linker finds shared libraries via the linker
cache file, /etc/ld.so.cache

When you add a library, you have to rebuild that file. The
program ldconfig does that (see its man page), but I don't
know what arguments to give it. However, if you add any
library via yast, yast will rebuild the linker cache file
(presumably by running ldconfig).

So if you install any random libxxx via yast,
libpy2lang_perl.so should then be magically recognized.

.... according to theory. At least this solution satisfies
the Jewish Chicken Soup Criterion: It might not help,
but it couldn't hurt!