Dan, I copied the file directly from the build directory into the directory you showed me how to find. It gets as far as complaining about the dispatcher, which is fine since I haven't gotten that far yet.
- Jeff On 6/2/09 8:12 AM, "Jeff Pyle" <[email protected]> wrote: > Hi Dan, > > One version of Python, and I think I'm okay on "extra" _conntrack.so files. > > I run media-relay from the path after a system-wide installation. It looks > like that's where it's picking it up from: > > # python -c "import sys, mediaproxy; print sys.modules['mediaproxy']" > <module 'mediaproxy' from > '/usr/lib/python2.5/site-packages/mediaproxy/__init__.pyc'> > > It appears I am missing the _conntrack.so in this directory. What's the > cleanest way to get it in there? How should it have been placed in there? > > # ls /usr/lib/python2.5/site-packages/mediaproxy/interfaces/system/ > __init__.py __init__.pyc > > > > - Jeff > > > > > > On 6/2/09 4:45 AM, "Dan Pascu" <[email protected]> wrote: > > >> And a third thing, do you happen to try to start/run it from the >> source directory, where you built it? Because if so, it will find the >> mediaproxy package in that directory before the one that was installed >> by the debian package, however the one in the source directory doesn't >> have _conntrack.so in the right place (or at all), so it's not found. >> This problem should be easy to spot. Run the following commands and >> watch the output. The first one will tell you from where it imports >> the mediaproxy module. The second one will tell you if there is a >> _conntrack.so file in that place: >> >> $ python -c "import sys, mediaproxy; print sys.modules['mediaproxy']" >> <module 'mediaproxy' from '/var/lib/python-support/python2.5/ >> mediaproxy/__init__.pyc'> >> $ ls /var/lib/python-support/python2.5/mediaproxy/interfaces/system/ >> __init__.py __init__.pyc _conntrack.so >> $ >> >> -- >> Dan >> >> >> > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
