/usr/lib vs /usr/lib64

Todd Zullinger tmz at pobox.com
Mon Aug 31 01:08:30 UTC 2009


online.service.com at gmail.com  wrote:
> It seems i have two python2.6 folders located in /usr/lib vs
> /usr/lib64  respectively.  Most python stuff (source) is in
> /usr/lib64/python2.6 but when in installed packages they have been
> put into /usr/lib/python2.6

Architecture-dependent python modules go in /usr/lib64/python*, while
architecture-independent modules go in /usr/lib/python*.  Python's
module path checks both for modules when importing.

> How the system decides which directory to go when python is
> requested, and how it finds the packaged i installed?

Properly packaged modules in Fedora use get_python_lib() from
distutils.sysconfig.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If a pig loses its voice, is it disgruntled?
    -- George Carlin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20090830/e8ec77e5/attachment-0001.bin 


More information about the users mailing list