[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Latest GIT on OpenSuse 11.4 x64 - PYTHONPATH
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] Latest GIT on OpenSuse 11.4 x64 - PYTHONPATH |
Date: |
Wed, 27 Apr 2011 13:29:56 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 |
On 04/27/2011 01:19 PM, Moeller wrote:
> Unfortunately, the Gnuradio "make install" Installer
> is a bit buggy. It distributes python libs between
> the lib64 and lib folders. Python cannot handle this chaos,
> even with both directories in PYTHONPATH.
>
> I solved it by creating a symlink before installing:
>
> ln -s /usr/local/lib64/python2.7/ /usr/local/lib/python2.7
>
> Apparently, Gnuradio is the only app that wrote to /usr/local/lib/python2.7,
> because this directory didn't exist before (pure 64 Bit operating system).
>
> After symlinking, the "make install" effectively writes all into
> a single destination and Python finds all dependencies.
>
> I never understood, why this Linux introduced the lib64 folders.
> Why not keeping the 64 Bit code in the lib standard location
> and put all legacy 32 bit code in lib32 folders?
> Do other Linux distributions handle this in a different way?
>
Other Redhat family distros seem to do it the same way opensuse does.
Ubantu on 64 bit machines has a lib32 and lib, lib64 is just a symbolic
link to lib. I think that makes tons of sense:
ls -al /usr/
total 272
drwxr-xr-x 11 root root 4096 2011-01-18 11:34 .
drwxr-xr-x 24 root root 4096 2011-03-19 10:26 ..
drwxr-xr-x 2 root root 69632 2011-04-15 09:00 bin
drwxr-xr-x 2 root root 4096 2011-04-01 23:59 games
drwxr-xr-x 75 root root 20480 2011-04-08 10:44 include
drwxr-xr-x 246 root root 102400 2011-04-15 09:00 lib
drwxr-xr-x 41 root root 36864 2011-01-26 22:44 lib32
lrwxrwxrwx 1 root root 3 2010-11-25 20:56 lib64 -> lib
drwxr-xr-x 9 jblum root 4096 2011-01-21 15:18 local
drwxr-xr-x 2 root root 12288 2011-04-11 11:02 sbin
drwxr-xr-x 362 root root 12288 2011-04-08 10:44 share
drwxrwsr-x 12 root src 4096 2011-03-19 10:25 src
-Josh
Message not available
- Message not available
- Re: [Discuss-gnuradio] Latest GIT on OpenSuse 11.4 x64 - PYTHONPATH, Stefan Gofferje, 2011/04/27
- Re: [Discuss-gnuradio] Latest GIT on OpenSuse 11.4 x64 - PYTHONPATH, Moeller, 2011/04/27
- Re: [Discuss-gnuradio] Latest GIT on OpenSuse 11.4 x64 - PYTHONPATH,
Josh Blum <=
- Re: [Discuss-gnuradio] Latest GIT on OpenSuse 11.4 x64 - PYTHONPATH, Marcus D. Leech, 2011/04/27
- Re: [Discuss-gnuradio] Latest GIT on OpenSuse 11.4 x64 - PYTHONPATH - SOLVED, Stefan Gofferje, 2011/04/28
- Re: [Discuss-gnuradio] Latest GIT on OpenSuse 11.4 x64 - PYTHONPATH, Ignacio, 2011/04/28