Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffms2index no linker property when PKG_CONFIG_PATH= is passed #107

Closed
tgoyne opened this issue Aug 19, 2013 · 1 comment
Closed

ffms2index no linker property when PKG_CONFIG_PATH= is passed #107

tgoyne opened this issue Aug 19, 2013 · 1 comment

Comments

@tgoyne
Copy link
Member

tgoyne commented Aug 19, 2013

From sL1pKn07 on January 30, 2013 17:00:45

What steps will reproduce the problem? pre: install ffmpeg and ffms2 (and depends) by distro repodsitory (include all dev tools for build)

  1. build ffmpeg from git with:

git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
./configure --prefix="$HOME/build" ---disable-network --disable-encoders --disable-muxers --disable-filters --disable-hwaccels --disable-bsfs --disable-protocols --disable-indevs --disable-outdevs --disable-debug --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --disable-doc --disable-vdpau --disable-mmx --enable-gpl --enable-version3 --enable-avresample --enable-pic --enable-static
make
make install
cd ..

  1. build ffmpegsource with:

svn co http://ffmpegsource.googlecode.com/svn/trunk/ ffms2
cd ffms2
PKG_CONFIG_LIBDIR="$HOME/build/lib/pkgconfig" ./configure --prefix=/usr --with-pic --enable-shared
make
make DESTDIR="$HOME/test" install

3.go to $HOME/test/usr/bin and $HOME/test/usr/lib

and type ldd ffmsindex and ldd libffms2.so What is the expected output? What do you see instead? expected:

  • ffmsindex contains ffmpeg from git embeded
  • libffms2.so contains ffmpeg from git embeded

got:

  • libffms2.so contains ffmpeg from git embeded
  • ffms2index have shared libraries from my system (different ffmpeg) http://paste.ubuntu.com/1591718 in config.log: http://paste.ubuntu.com/1591715 What version of the product are you using? On what operating system? ffmpegsource svn 743
    ffmpeg git 9df9420
    gcc 4.7.2

CFLAGS="-march=x86-64 -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=x86-64 -mtune=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"

ffmpeg in system: 1.0.1 from https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/ffmpeg ffms2 in system svn 743 from https://aur.archlinux.org/packages/ff/ffmpegsource2-svn/PKGBUILD (update a latest when install)

archlinux 64bits

Original issue: http://code.google.com/p/ffmpegsource/issues/detail?id=107

@tgoyne
Copy link
Member Author

tgoyne commented Aug 19, 2013

From sL1pKn07 on January 30, 2013 18:15:30

if add LDFLAGS=" -Wl,-Bsymbolic" [1] change the config.log http://paste.ubuntu.com/1592004 but not change nothing (ldd ffmsindex says have link ffmpeg sistem libraries)

[1] http://roundup.libav.org/issue1563 i tesed with libav instead ffmpeg. same issue

@myrsloik myrsloik closed this as completed May 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants