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

Reporting wrong libfaac version #43

Open
ronfischler opened this issue Jan 6, 2021 · 6 comments
Open

Reporting wrong libfaac version #43

ronfischler opened this issue Jan 6, 2021 · 6 comments

Comments

@ronfischler
Copy link

Running Ubuntu 18.04 LTS. Following the instructions in the INSTALL text file, faac was built and then installed in /usr/local/bin. Running faac then results in the following error:
main.c(507): wrong libfaac version

Note: the version using apt, 1.29, is not installed, but maybe there is a conflict with something else?

@fabiangreffrath
Copy link
Collaborator

What does which faac say? And what does ldd /path/to/faac say with the path to the faac binary that which faac reported?

@ronfischler
Copy link
Author

$ which faac
/usr/local/bin/faac
$ ldd /usr/local/bin/faac
linux-vdso.so.1 (0x00007fff3695a000)
libfaac.so.0 => /usr/lib/x86_64-linux-gnu/libfaac.so.0 (0x00007fd564411000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd564020000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd563c82000)
/lib64/ld-linux-x86-64.so.2 (0x00007fd56482d000)

@fabiangreffrath
Copy link
Collaborator

libfaac.so.0 => /usr/lib/x86_64-linux-gnu/libfaac.so.0 (0x00007fd564411000)

Please try to move that out of the way.

@ronfischler
Copy link
Author

ronfischler commented Jan 6, 2021

OK, I moved libfaac.so.0 out of the way, and now I get this:

$ faac
faac: error while loading shared libraries: libfaac.so.0: cannot open shared object file: No such file or directory

$ which faac
/usr/local/bin/faac

$ ldd /usr/local/bin/faac
linux-vdso.so.1 (0x00007ffcac9de000)
libfaac.so.0 => not found
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3e962cd000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3e968cb000)

Note: I tried running "sudo make install" again but that does not appear to install a new libfaac library, only the faac executable.

Edit: I went into the libfaac dir, did a "sudo make install" in there for libfaac, then I needed to run ldconfig. Now it comes up running! I don't think installing libfaac is being done when "make install" is done for the faac executable.

@fabiangreffrath
Copy link
Collaborator

So, is this still an issue?

@artenax
Copy link

artenax commented Feb 20, 2023

You can compile in static:

./bootstrap
./configure --prefix=/usr/local --enable-silent-rules --disable-drm --enable-static --disable-shared
make
sudo make install

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