Rob Shortt wrote:
Rob Shortt wrote:

Wan Tat Chee wrote:

Hi Rob,
I d/l'ed test4, and generated a new CVS snapshot tgz, but when I build and
run freevo setup, I get the following error:



[EMAIL PROTECTED] freevo]# ./freevo setup --help ./runtime/apps/freevo_python: error while loading shared libraries: libavcodec.so: cannot open shared object file: No such file or directory

Which is strange, since there is a libavcodec.so in the runtime/dll directory.



Yeah, the library is there plus it gets preloaded. AND nothing python loads then should need libavcodec, it isn't linked to it.


Does this damn thing work for anyone else besides me?? It is getting on my nerves.

Ok, just as a test I moved away my system libavcodec and ran ./freevo setup --help. I get the same thing, it doesn't seem to be preloaded.


I just did a test:

LD_LIBRARY_PATH=./runtime/dll ./freevo setup --help and it worked.

So, it doesn't seem to be preloading. Should we just put LD_LIBRARY_PATH=./runtime/dll into the freevo script for now? Ok, I do NOT want to do that. We need to fix the real problem here.

Another test, looking at the runapp log:


runapp: CWD = /opt/freevo
runapp: av[0] = './runapp'
runapp: av[1] = 'python'
runapp: Command: './runapp python '
runapp: runtime FOUND
runapp: Using the runtime Python+loader
runapp: Reading LD_PRELOAD from file './runtime/preloads'
runapp: Setting LD_PRELOAD = './runtime/dll/libSDL-1.2.so.0 ./runtime/dll/libvorbis.so.0 ./runtime/dll/libglib-1.2.so.0 ./runtime/dll/libreadline.so.4 ./runtime/dll/libSDL_mixer-1.2.so.0 ./runtime/dll/libpthread.so.0 ./runtime/dll/libnss_files.so.2 ./runtime/dll/libasound.so.2 ./runtime/dll/libgcc_s.so.1 ./runtime/dll/libdvdread.so.2 ./runtime/dll/libg2c.so.0 ./runtime/dll/libexif.so.8 ./runtime/dll/libgphoto2_port.so.0 ./runtime/dll/libncurses.so.5 ./runtime/dll/libvorbisenc.so.2 ./runtime/dll/libm.so.6 ./runtime/dll/libgmodule-1.2.so.0 ./runtime/dll/libnsl.so.1 ./runtime/dll/libSDL_ttf-2.0.so.0 ./runtime/dll/libssl.so.0.9.7 ./runtime/dll/libnss_nis.so.2 ./runtime/dll/libxmms.so.1 ./runtime/dll/libsmpeg-0.4.so.0 ./runtime/dll/libblas.so.2 ./runtime/dll/libresolv.so.2 ./runtime/dll/libnss_nisplus.so.2 ./runtime/dll/libutil.so.1 ./runtime/dll/libcrypt.so.1 ./runtime/dll/libdb-4.1.so ./runtime/dll/libgdk-1.2.so.0 ./runtime/dll/libXext.so.6 ./runtime/dll/libdl.so.2 ./runtime/dll/libX11.so.6 ./runtime/dll/libao.so.2 ./rurunapp: Setting LD_PRELOAD = './runtime/dll/libSDL-1.2.so.0 ./runtime/dll/libvorbis.so.0 ./runtime/dll/libglib-1.2.so.0 ./runtime/dll/libreadline.so.4 ./runtime/dll/libSDL_mixer-1.2.so.0 ./runtime/dll/libpthread.so.0 ./runtime/dll/libnss_files.so.2 ./runtime/dll/libasound.so.2 ./runtime/dll/libgcc_s.so.1 ./runtime/dll/libdvdread.so.2 ./runtime/dll/libg2c.so.0 ./runtime/dll/libexif.so.8 ./runtime/dll/libgphoto2_port.so.0 ./runtime/dll/libncurses.so.5 ./runtime/dll/libvorbisenc.so.2 ./runtime/dll/libm.so.6 ./runtime/dll/libgmodule-1.2.so.0 ./runtime/dll/libnsl.so.1 ./runtime/dll/libSDL_ttf-2.0.so.0 ./runtime/dll/libssl.so.0.9.7 ./runtime/dll/lib
runapp: newav[0] = './runtime/dll/freevo_loader'
runapp: newav[1] = './runtime/apps/freevo_python'


Notice that everything occurs twice AND libavcodec is missing from the list. I wonder if others are missing too. Wait... the last one looks truncated. Maybe there are too many? Maybe the size of the string in runapp is too small. Checking..


-Rob




-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to