[mono-packagers] The $(prefix)/usr vs $(libdir) argument

Paul paul at all-the-johnsons.co.uk
Sat Nov 29 14:49:06 EST 2008


Hi,

> > > What does Fedora do with Perl or Python apps?
> > 
> > Uses a script to put it in the right place in spec files
> > 
> > %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from
> > distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
> 
> And what's considered the "right place"? I'm not trying to be facetious,
> I just want to better understand the layout as it applies to Fedora


Assuming a 32 bit system, binaries /usr/bin, libs /usr/lib
           64 bit                  /usr/bin,      /usr/lib64

On a 64 bit system if a library comes from a vendor who has only
provided a 32 bit binary with a lib or a binary which requires a 32 bit
lib, then /usr/lib is used.

It's a carte blanche approach for everything.

TTFN

Paul
-- 
Sie können mich aufreizen und wirklich heiß machen!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-packagers-list/attachments/20081129/bd320d90/attachment.bin 


More information about the mono-packagers-list mailing list