Re: [cx-oracle-users] This must be something simple....
Brought to you by:
atuining
From: Dwayne K. <dw...@kr...> - 2012-09-10 18:28:32
|
Mark, Thanks for the hint - this may have proved useful. When I do what you suggest and use strace to follow what's going on, I noticed two things: 1) the installation of the cx_Oracle rpm seems to have dropped (only?) two files in /usr/lib/python3.2/site-packages: cx_Oracle.cpython-32mu.so and cx_Oracle-5.1.2-py3.2.egg-info Note that these are in the site-packages folder itself - not a subfolder 2) the output of strace shows that it looks for a slightly different name: cx_Oracle.cpython-32m.so (not the absence of the "u") So....a few followup questions: 1) should there be more files there? Or is it really just the .so? The strace seems to show that it also looks for: - cx_Oracle - cx_Oraclemodule.cpython-32m.so - cx_Oracle.abi3.so - cx_Oraclemodule.abi3.so - cx_Oracle.so - cx_Oraclemodule.so - cx_Oracle.py - cx_Oracle.pyc 2) Should I be able to create a symlink to resolve at least the one with a slightly different name? I'm at a bit of a loss simply because I don't have a working cx_Oracle on a linux box anywhere to compare to. Thanks again - your time is greatly appreciated. Dwayne On Mon, Sep 10, 2012 at 1:20 PM, Mark Harrison <mh...@pi...> wrote: > On 9/10/12 8:05 AM, Dwayne King wrote: > > I will be extremely grateful if someone can point what I'm missing. > > I don't have any specific suggestions, but I've always found strace to be > helpful in diagnosing library problems. > > echo import cx_Oracle >foo.py > strace python foo.py > > You can look in the output for the files you installed and see if they're > being found, or if there's any other oddness in loading them. > > HTH! > > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > cx-oracle-users mailing list > cx-...@li... > https://lists.sourceforge.net/lists/listinfo/cx-oracle-users > |