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

ERROR: libass not found using pkg-config while building ffmpeg #10

Closed
VoodooZ opened this issue Feb 3, 2019 · 8 comments
Closed

ERROR: libass not found using pkg-config while building ffmpeg #10

VoodooZ opened this issue Feb 3, 2019 · 8 comments

Comments

@VoodooZ
Copy link

VoodooZ commented Feb 3, 2019

This is a weird one... I have pkgconfig installed and all that but I assume because we're using some sort of isolated build structure it's not finding it.
Does that mean I'd need to add a function to build libass too so it can get placed with other binaries?

I've seen similar results with libfreetype too before I disabled it..

Compiling ffmpeg
Already up-to-date.
ERROR: libass not found using pkg-config

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
@ilyaevseev
Copy link
Owner

Will answer you tomorrow.
Possibly libass-devel should be installed manually for workaround that.

@Brainiarc7
Copy link
Contributor

Brainiarc7 commented Feb 3, 2019 via email

@VoodooZ
Copy link
Author

VoodooZ commented Feb 3, 2019 via email

@VoodooZ
Copy link
Author

VoodooZ commented Feb 3, 2019 via email

@VoodooZ
Copy link
Author

VoodooZ commented Feb 3, 2019

Here's my first stab at a compileLibAss()

compileLibAss() {
    echo "Compiling libass"
    cd "$WORK_DIR/"
    Wget https://github.com/libass/libass/releases/download/0.14.0/libass-0.14.0.tar.xz
    tar Jxvf "libass-0.14.0.tar.xz"
    cd libass-0.14.0
    autoreconf -fiv
    ./configure --prefix="$DEST_DIR" --disable-shared
    make -j$(nproc)
    make install distclean
}

Then just need to add a call of compileLibAss early in the call list at the end of the script.

@VoodooZ
Copy link
Author

VoodooZ commented Feb 3, 2019

And voila! I am now able to complete compilation of ffmpeg!
Thanks!

@VoodooZ VoodooZ closed this as completed Feb 3, 2019
ilyaevseev added a commit that referenced this issue Feb 4, 2019
@ilyaevseev
Copy link
Owner

Hmm.. libass-devel was in installYumLibs.

Please attach ffbuild/config.log next time.

@VoodooZ
Copy link
Author

VoodooZ commented Feb 4, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants