New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28736 (closed defect: worksforme)

Opened 2 years ago

Last modified 19 months ago

x264: Cannot build due to missing library

Reported by: seifert@… Owned by: devans@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: x264

Description (last modified by ryandesign@…) (diff)

I'm attempting to build the x264 port using OS 10.6.6. I removed all of my ports and am trying to install from a fresh build. I always run into the following error:

:info:build /usr/bin/gcc-4.2 -o x264 x264.o input/timecode.o input/yuv.o input/y4m.o output/raw.o output/matroska.o output/matroska_ebml.o output/flv.o output/flv_bytestream.o input/thread.o input/lavf.o libx264.a -L/opt/local/lib -arch x86_64 -arch x86_64 -lm -arch x86_64 -lpthread -s -L. -lavformat -lswscale -lavcodec -lavutil -lm -lz -lbz2 -lpthread 
:info:build ld: warning: option -s is obsolete and being ignored
:info:build ld: library not found for -lavformat
:info:build collect2: ld returned 1 exit status
:info:build make: *** [x264] Error 1

How can I get libavformat to be built?

Attachments

main.log (2.4 KB) - added by seifert@… 2 years ago.
Full log file from build

Change History

Changed 2 years ago by seifert@…

Full log file from build

comment:1 Changed 2 years ago by ryandesign@…

  • Owner changed from macports-tickets@… to devans@…
  • Description modified (diff)
  • Port set to x264
  • Summary changed from Cannot build x264 due to missing library to x264: Cannot build due to missing library

comment:2 Changed 19 months ago by devans@…

  • Status changed from new to closed
  • Resolution set to worksforme

Can't reproduce this problem with the current version of x264. Please

sudo port selfupdate
sudo port clean x264
sudo port install x264
Note: See TracTickets for help on using tickets.