shshankjain / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

'make install' puts libvpx.a in wrong folder #190

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the expected behavior?
'make install' should put .a file in /usr/local/lib/libvpx.a

What do you see instead?
'make install' puts .a file in /usr/lib/libvpx.a
which causes an ffmpeg link error unless you explicitely add the lib to the 
link line or move the file.
As a work around, I do this:
make install
rm /usr/lib/libvpx.a
ln -s /usr/local/lib/libvpx.a /usr/lib/libvpx.a

What version are you using?
v0.9.2-35-ga8a38bc

On what operating system?
windows7 / msys

Can you reproduce using the ivfdec or ivfenc tools?
N/A
What command line are you using?

../libvpx/configure --target=x86-win32-gcc --enable-debug --disable-psnr 
--disable-postproc
make
make install

Please provide any additional information below.
works okay on linux

Original issue reported on code.google.com by fbarch...@chromium.org on 29 Sep 2010 at 10:29

GoogleCodeExporter commented 9 years ago
> What is the expected behavior?
> 'make install' should put .a file in /usr/local/lib/libvpx.a
> 
> What do you see instead?
> 'make install' puts .a file in /usr/lib/libvpx.a
> which causes an ffmpeg link error unless you explicitely add the lib to the 
link line or move the file.
> As a work around, I do this:
> make install
> rm /usr/lib/libvpx.a
> ln -s /usr/local/lib/libvpx.a /usr/lib/libvpx.a
> 
Given the last line, in your first statement do you mean the opposite, i.e., 
/usr/lib?
The default prefix is /usr/local/lib. I don't think this is an issue with 
libvpx as /usr/local is a common default, but may be a problem with the mingw 
gcc in use given that the SEARCH_DIR is present in the ldscripts, similar to 
linux.
--prefix could be passed to the libvpx build or the include/linker flags 
supplied to ffmpeg configure for the default /usr/local location.

Original comment by jz...@google.com on 15 Oct 2010 at 9:56

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by iss...@webmproject.org on 16 Mar 2011 at 2:51

GoogleCodeExporter commented 9 years ago
This works as expected. Using the default prefix /usr/local libvpx.a is 
correctly installed to /usr/local/lib on this platform.

Original comment by jz...@google.com on 26 Jul 2011 at 1:07

GoogleCodeExporter commented 9 years ago

Original comment by albe...@google.com on 8 Mar 2012 at 12:10