Hello All. I use to have the following error: to resolve this I install the SQLRelay library in the zopes /lib/python2.1 directory, Traceback (innermost last): File /usr/local/Zope/Zope-2.5.1-linux2-x86/lib/python/OFS/Application.py, line 531, in import_product ... ... (Object: localtime) ImportError: No module named SQLRelay Now I can say that the module is ok, but I now I get the following error: 2002-07-18T15:26:19 ERROR(200) Zope Could not import Products.ZSQLRelayDA Traceback (innermost last): ... ... File /usr/local/Zope/Zope-2.5.1-linux2-x86/lib/python2.1/site-packages/SQLRelay/PySQLRDB.py, line 10, in ? (Object: localtime) ImportError: librudiments.so: cannot open shared object file: No such file or directory When I install the rudiments library it install in the /usr/local/firstworks/ directory [root@localhost firstworks]# ls bin doc etc include lib var Just in case I was wrong, I move all the files in the /usr/local/firstworks to /usr/local to see if that was the problem but I get the same error. Can somebody help me where should the rudiment library files should be or is still an error in the module. thanks in advance Gerardo Amaya
Jose Gerardo Amaya Giron writes:
... /usr/local/Zope/Zope-2.5.1-linux2-x86/lib/python2.1/site-packages/SQLRelay/PySQLRDB.py, line 10, in ? (Object: localtime) ImportError: librudiments.so: cannot open shared object file: No such file or directory The dynamic linker looks at some standard places (defined in "/etc/ld.so.conf") and in the places defined by your "LD_LIBRARY_PATH".
Your options: * extend "/etc/ld.so.conf" (rebuild the cache with "ldconfig" afterwards) * extend "LD_LIBRARY_PATH" * move (or link) the shared objects to a place where the dynamic linker finds it without modification. Dieter
participants (2)
-
Dieter Maurer -
Jose Gerardo Amaya Giron