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

Compilation Failure ubuntu Impish #168

Closed
wx4cb opened this issue Jan 11, 2022 · 3 comments
Closed

Compilation Failure ubuntu Impish #168

wx4cb opened this issue Jan 11, 2022 · 3 comments

Comments

@wx4cb
Copy link

wx4cb commented Jan 11, 2022

followed all the directions as per buster, changed the debian.control file to have debhelper instead of dh-systemd.

seems to compile ok for the most part, but i get the following errors art the end of the compile

i have rtl-sdr compiled from source so it appears it's looking for the rtl package which isnt obviously installed ?

dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use)
        install -d debian/dump1090-fa/DEBIAN
        dpkg-shlibdeps -Tdebian/dump1090-fa.substvars debian/dump1090-fa/usr/bin/view1090-fa debian/dump1090-fa/usr/bin/dump1090-fa debian/dump1090-fa/usr/lib/dump1090-fa/starch-benchmark
dpkg-shlibdeps: error: no dependency information found for /usr/local/lib/librtlsdr.so.0 (used by debian/dump1090-fa/usr/bin/dump1090-fa)
Hint: check if the library actually comes from a package.
dh_shlibdeps: error: dpkg-shlibdeps -Tdebian/dump1090-fa.substvars debian/dump1090-fa/usr/bin/view1090-fa debian/dump1090-fa/usr/bin/dump1090-fa debian/dump1090-fa/usr/lib/dump1090-fa/starch-benchmark returned exit code 255
dh_shlibdeps: error: Aborting due to earlier error
make: *** [debian/rules:57: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit status 2
@mutability
Copy link

mutability commented Jan 12, 2022

Yeah, you need a correctly packaged version of librtlsdr-dev installed to do a package build of dump1090. If you also have a compiled-from-source version present, that will interfere with the build.

@wx4cb
Copy link
Author

wx4cb commented Jan 12, 2022

i found a work aroudn for this. basically to get shlib to ignore failed dependencies and got it installed and running

@mutability
Copy link

Sure. Be aware that the error is intentional; if you disable the check then you'll end up with a package that has linked against a library that the package management system knows nothing about, and so you'll run into unexpected runtime problems if that library is ever changed or removed (or if you try to install the built package on a different system)

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

2 participants