On 17/02/2010 3:15, alis...@phrostbyte.dhis.org wrote: > Good Afternoon, > > I'm trying to port freevo svn install to openbsd 4.6 and I think I'm > nearly there and ready to capture and blog the changes I had to make :) > > However I face hopefully one last issue: > > childapp.py uses the python subprocess popen call which executes > mplayer gives a quick screen blank or redraw and the OS tries to load > mplayer I see if I watch 'ps ax' while trying to watch a movie. But > nothing actually plays and the mplayer-stderr* log file reads: > > /usr/local/bin/mplayer: can't load library '' > > I see if I make /usr/lib/mplayer a simple /bin/sh script I can run any > statically compiled binary in here from freevo with no errors. > > However if place a dynamically compiled binary in my script to be > called it fails and logs to the mplayer-stderr*: > > $BINARY_PATH/$BINARY: Can't load library '' > > Currently my shell script looks like this: > > #!/bin/sh > export LD_LIBRARY_PATH=/usr/lib:/usr/libexec:/usr/X11R6/lib:/usr/local/lib > /usr/bin/ldd /usr/local/bin/mplayer.real>/tmp/output > > This results in log lines of the following: > > /usr/bin/ldd: can't load library '' > > I think this is probably OpenBSD specific but on my googles can't find > a way to allow python to call dynamically linked binaries and be able > to find/load the libraries it needs :( > > Anyone know a way around this or a good place to start digging? > > Alistar =) > > > Quoting Alistar Burrell<alis...@phrostbyte.dhis.org>: > > >> Good Evening, >> >> I'm trying to port freevo svn install to openbsd 4.6 and I think I'm >> nearly there and ready to capture and blog the changes I had to make :) >> >> However I face hopefully one last issue: >> >> childapp.py uses the python subprocess popen call which executes with >> a lib path of just /usr/lib (probably a compiled in default of openbsd >> somewhere) however mplayer and other things need access to libs in / >> usr/local/lib and I don't wan to copy them there! >> >> Can any of you python/freevo heads offer up a fix? My python is almost >> non existent but I have a feeling there is a way of passing it these >> as an environment before calling anything with popen the first time. >> >> Cheers >> >> Alistar =) >> Hi Alistar,
Sounds like you're getting close. You might be better off asking these questions on the devel list though. John ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel