[FFmpeg-trac] #2816(undetermined:new): configure --libdir doesn't seem to be working

FFmpeg trac at avcodec.org
Sun Jul 28 12:17:54 CEST 2013


#2816: configure --libdir doesn't seem to be working
-------------------------------------+-------------------------------------
             Reporter:  alsocurious  |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 What you were trying to accomplish:
 Build ffmpeg for install of everything in directory under home directory

 The problem you encountered:
 ffmpeg libraries are installed to /usr/lib no matter which configure
 --prefix or --libdir is specified or not.

 The exact command line you were using:
 $ git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg

 ./configure --prefix=/home/test/local --bindir=/home/test/local/bin
 --datadir=/home/test/local/share/ffmpeg
 --incdir=/home/test/local/include/ffmpeg --libdir=/home/test/local/lib
 --mandir=/home/test/local/share/man --arch=i686 --optflags='-O2 -g -pipe
 -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-
 buffer-size=4 -grecord-gcc-switches -m32 -march=i686 -mtune=atom
 -fasynchronous-unwind-tables' --enable-bzlib --disable-crystalhd --enable-
 frei0r --enable-gnutls --enable-libass --enable-libcelt --enable-libdc1394
 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-
 libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg
 --enable-libopus --enable-libpulse --enable-libschroedinger --enable-
 libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-
 libvpx --enable-libx264 --enable-libxvid --enable-x11grab --enable-
 avfilter --enable-postproc --enable-pthreads --disable-static --enable-
 shared --enable-gpl --disable-debug --disable-stripping
 --shlibdir=/usr/lib --cpu=i686 --enable-runtime-cpudetect

 The above is the same as listed by running ffmpeg from
 ffmpeg-1.2.1-3.fc19.i686 for Fedora 19 but with "/usr" replaced by
 "/home/test/local"

 $ make

 $ make install
 INSTALL libavdevice/libavdevice.so
 install: cannot create regular file ‘/usr/lib/libavdevice.so.55.3.100’:
 Permission denied
 make: *** [install-libavdevice-shared] Error 1

 The above "make install" would have worked without becoming superuser if
 install had been to the home directory as specified in the configure
 command.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2816>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list