Opened 15 years ago

Closed 15 years ago

#21253 closed defect (invalid)

ffmpeg run error

Reported by: dershow Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Library location, ffmpeg, faad Cc: pguyot (Paul Guyot),dbevans (David B. Evans)
Port: ffmpeg, faad

Description

When I try to run ffmpeg I get an error:

ffmpeg -h
dyld: Library not loaded: /opt/local/lib/libfaad.0.dylib
  Referenced from: /opt/local/bin/ffmpeg
  Reason: image not found
Trace/BPT trap

And ffmpeg is correct that this library doesn't exist:

ls /opt/local/lib/*aad*
/opt/local/lib/libfaad.2.dylib	
/opt/local/lib/libfaad.dylib
/opt/local/lib/libfaad.a	
/opt/local/lib/libfaad.la

So, there is either a bug in ffmpeg, in how it searches for libfaad, or there is a bug in libfaad, that it is not properly installing one part of the library (or a link).

I tested this on both a MacBook Pro, and a G5. Both are running 10.5 and Macports 1.8.0

Thanks,

--Adam

Change History (2)

comment:1 Changed 15 years ago by dershow

Just making a dynamic link allows ffmpeg to run: sudo ln -s /opt/local/lib/libfaad.0.dylib /opt/local/lib/libfaad.2.dylib

Although I have not tested any media that actually use faad2, so I am not sure if this is a good fix or not!

comment:2 Changed 15 years ago by mnick@…

Resolution: invalid
Status: newclosed

This was fixed in r57325. Try rebuilding ffmpeg or wait until the new ffmpeg revision hits rsync

Note: See TracTickets for help on using tickets.