[opensuse] x86_64 perl in /usr/lib ?
Hi list, Trying to install some software that looks for perl on my suse 10.1 box. Because it is an x86_64 box and the perl rpm is an x86_64 rpm the software I am trying to install is looking for /usr/lib64/perl5 and not /usr/lib/perl5 which is where the x86_64 perl rpm is actually installed. What would I break if I just did something like this?
ln -s /usr/lib/perl5 /usr/lib64/
Why is the x86_64 perl rpm installed in /usr/lib and not /usr/lib64? Thanks Rene -- - -- Rene Salmon Tulane University Center for Computational Science http://www.ccs.tulane.edu rsalmon@tulane.edu Tel 504-862-8393 Tel 504-988-8552 Fax 504-862-8392 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tue, Aug 22, 2006 at 02:16:11PM -0500, Rene Salmon wrote:
Trying to install some software that looks for perl on my suse 10.1 box.
Because it is an x86_64 box and the perl rpm is an x86_64 rpm the software I am trying to install is looking for
/usr/lib64/perl5
and not
/usr/lib/perl5
which is where the x86_64 perl rpm is actually installed.
Seems like your software is broken (or compiled with a broken perl configuration).
What would I break if I just did something like this?
ln -s /usr/lib/perl5 /usr/lib64/
I don't think anything would break. But you should rather fix your software.
Why is the x86_64 perl rpm installed in /usr/lib and not /usr/lib64?
Because perl uses its own architecture directory: /usr/lib/perl5/5.8.8/x86_64-linux-thread-multi It makes no sense to me to complicate things even more by moving part of perl's directory structure from /usr/lib to /usr/lib64. Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Rene Salmon schrieb:
Because it is an x86_64 box and the perl rpm is an x86_64 rpm the software I am trying to install is looking for
/usr/lib64/perl5
and not
/usr/lib/perl5
which is where the x86_64 perl rpm is actually installed.
This package is obviously neither a SUSE package nor built for SUSE.
What would I break if I just did something like this?
ln -s /usr/lib/perl5 /usr/lib64/
Not much, probably. But it's ugly. If the package makes this wrong assumption about the filesystem layout, it might make more of them.
Why is the x86_64 perl rpm installed in /usr/lib and not /usr/lib64?
Because that's where perl belongs. perl has its own multiarch directory hierarchy below /usr/lib/perl5, so there is simply no need to install it into /usr/lib64 instead of /usr/lib. Using /usr/lib64 instead of /usr/lib for perl would even be counter-productive because it would make all perl modules architecture dependent. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Thanks. Got it. I will fix the software to look for perl in the right place. Rene Andreas Hanke wrote:
Rene Salmon schrieb:
Because it is an x86_64 box and the perl rpm is an x86_64 rpm the software I am trying to install is looking for
/usr/lib64/perl5
and not
/usr/lib/perl5
which is where the x86_64 perl rpm is actually installed.
This package is obviously neither a SUSE package nor built for SUSE.
What would I break if I just did something like this?
ln -s /usr/lib/perl5 /usr/lib64/
Not much, probably. But it's ugly.
If the package makes this wrong assumption about the filesystem layout, it might make more of them.
Why is the x86_64 perl rpm installed in /usr/lib and not /usr/lib64?
Because that's where perl belongs.
perl has its own multiarch directory hierarchy below /usr/lib/perl5, so there is simply no need to install it into /usr/lib64 instead of /usr/lib.
Using /usr/lib64 instead of /usr/lib for perl would even be counter-productive because it would make all perl modules architecture dependent. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Andreas Hanke
-
Michael Schroeder
-
Rene Salmon