Hi,

While trying to convert avi with ac3 audio to mov, I got the following  
message:

[liba52 @ 0x751810]A52 library liba52.so.0 could not be opened!
dlopen(liba52.so.0, 1): image not found

Applying the following patch convinced ffmpeg to search for  
liba52.0.dylib

--- ffmpeg-0.4.20071217.orig/libavcodec/liba52.c        2008-04-23  
21:43:44.000000000 +0300
+++ ffmpeg-0.4.20071217/libavcodec/liba52.c        2008-04-23  
21:44:25.000000000 +0300
@@ -29,7 +29,7 @@

  #ifdef CONFIG_LIBA52BIN
  #include <dlfcn.h>
-static const char* liba52name = "liba52.so.0";
+static const char* liba52name = "liba52.0.dylib";
  #endif

  /**


This only partially solved the problem, as now it didn't find  
liba52.0.dylib because it didn't search in /sw/lib.
Is there any way to tell a program to search in a different library  
path except setting DYLD_LIBRARY_PATH=/sw/lib?


Regards,
     Yair.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to