I've seen here, even if "/opt/lcg/lib/python" in the PYTHONPATH, still
it fails to import lfc unless "python32" is used (in stead of python).
[root@farm001 lib]# echo $PYTHONPATH
/opt/glite/lib/python:/opt/lcg/lib/python:/opt/glite/lib/python2.3/site-packages/amga
[root@farm001 lib]# python
Python 2.3.4 (#1, Dec 10 2007, 15:03:10)
[GCC 3.4.4 20050721 (Red Hat 3.4.4-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lfc
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/opt/lcg/lib/python/lfc.py", line 5, in ?
import _lfc
ImportError: /opt/lcg/lib/python/_lfc.so: cannot open shared object file: No such file or directory
>>>
[root@farm001 lib]# python32
Python 2.3.4 (#1, Dec 10 2007, 15:05:56)
[GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import lfc
>>>
I've also started seeing this at the very end every time I reconfigure a
WN (since last night):
WARNING: /opt/lcg/lib64 doesn't exist. PYTHONPATH and PERL5LIB won't contain 64bit libraries
WARNING: /opt/glite/lib64 doesn't exist. PYTHONPATH and PERL5LIB won't contain 64bit libraries
I didn't see this before. Should there a be a "lib64" in there?
Cheers,
Santanu
Graeme Stewart wrote:
> Hi All
>
> The latest release of gLite omits $LCG_LOCATION/lib/python from
> PYTHONPATH which breaks everything for ATLAS (user jobs and
> production).
>
> If you do this upgrade can you please make sure PYTHONPATH gets corrected.
>
> A quick test is:
>
> svr020:~$ python
> Python 2.3.4 (#1, Feb 7 2008, 18:34:17)
> [GCC 3.4.4 20050721 (Red Hat 3.4.4-2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
>>>> import lfc
>>>>
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/opt/lcg/lib/python/lfc.py", line 5, in ?
> import _lfc
> ImportError: /opt/lcg/lib/python/_lfc.so: cannot open shared object
> file: No such file or directory
>
> ==BROKEN
>
> svr020:~$ python
> Python 2.3.4 (#1, Dec 10 2007, 15:05:56)
> [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
>>>> import lfc
>>>>
>>>>
>
> ==WORKING
>
> You will need to run "python32" instead if you use a base 64 bit OS.
>
> Graeme
>
>
|