TheSin wrote:
okay now updated...

The fix is incomplete: dlopen requires a fully-qualified pathname or it will attempt to open the library relative to cwd. It does not automatically use any search path. I trust most users aren't executing ffmpeg from %p/lib.


Hence, my patch specified:

--
### Still more fixes for dylib
perl -pi -e 's,liba52.so.0,%p/lib/liba52.0.dylib,g' libavcodec/a52dec.c
perl -pi -e 's,libfaad.so.0,%p/lib/libfaad.0.dylib,g' libavcodec/faad.c
--

instead of merely:


--
  ### Fix dlopen filenames
  perl -pi -e 's,liba52.so.0,liba52.0.dylib,g' libavcodec/a52dec.c
  perl -pi -e 's,libfaad.so.0,libfaad.0.dylib,g' libavcodec/faad.c
--

ffmpeg 0.4.8-10 still generates the following errors (unless executed from %p/lib):

--
A52 library liba52.0.dylib could not be opened!
dlcompat: file "liba52.0.dylib" not found
--

Mark



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to