[MacPorts] #28736: x264: Cannot build due to missing library (was: Cannot build x264 due to missing library)

MacPorts noreply at macports.org
Fri Mar 11 12:30:49 PST 2011


#28736: x264: Cannot build due to missing library
-----------------------------------+----------------------------------------
 Reporter:  seifert@…              |       Owner:  devans@…           
     Type:  defect                 |      Status:  new                
 Priority:  Normal                 |   Milestone:                     
Component:  ports                  |     Version:  1.9.2              
 Keywords:                         |        Port:  x264               
-----------------------------------+----------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => devans@…
  * port:  => x264


Old description:

> 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?

New description:

 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?

--

-- 
Ticket URL: <https://trac.macports.org/ticket/28736#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list