Opened 13 years ago

Closed 12 years ago

#28736 closed defect (worksforme)

x264: Cannot build due to missing library

Reported by: seifert@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: x264

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (1)

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

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by seifert@…

Attachment: main.log added

Full log file from build

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

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

comment:2 Changed 12 years ago by dbevans (David B. Evans)

Resolution: worksforme
Status: newclosed

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.