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

Ubuntu 22.04 w/ 7.8.0 deb package missing M17 #1480

Closed
alphafox02 opened this issue Oct 16, 2022 · 21 comments
Closed

Ubuntu 22.04 w/ 7.8.0 deb package missing M17 #1480

alphafox02 opened this issue Oct 16, 2022 · 21 comments
Milestone

Comments

@alphafox02
Copy link

alphafox02 commented Oct 16, 2022

Finally getting around to testing SDRAngel more in 22.04. I used the Linux Install from Source page as a guide just to make sure all the apt-get related packages were installed. I then grabbed the latest Deb package release, installed, but after loading there's no M17 RX/TX options.

Is this expected? With 20.04 and the last release before the change in QT, both options were available.

I've been looking at the output in terminal, but so far only noticed this, which I think is a separate issue.

Cannot load library /usr/lib/sdrangel/plugins/libdemoddsd.so: (libmbe.so.1: cannot open shared object file: No such file or directory)
I've looked at the output a couple times and see not even a mention of the m17 library attempting to be loaded.

@alphafox02
Copy link
Author

Same issue applies to 7.7.0 Deb (SDRAngel-1696-master).

@srcejon
Copy link
Collaborator

srcejon commented Oct 16, 2022

Have you got codec2 installed? Is it found?

Might want to post cmake output / CMakeCache.txt

@alphafox02
Copy link
Author

This was using the Deb package on the releases page, not built from source.

Next step would be to remove deb package and build from source. I only mentioned the Linux page since that's where I pulled the apt packages from prior to installing the deb. Sorry if that wasn't clear on that part.

@alphafox02
Copy link
Author

alphafox02 commented Oct 16, 2022

You were correct on codec2 not being installed (via the package manager). However, that did not help with the deb package and no rx/tx M17 plugins being listed.

@alphafox02
Copy link
Author

alphafox02 commented Oct 16, 2022

What's showing in /usr/lib/sdrangel/plugins after deb install on 22.04, which has libmodemm17.so shown. Going one folder deeper into plugins has no mention of m17.

plugins

@alphafox02
Copy link
Author

I checked in a 20.04 built from source and the plugins folder contains libmodm17.so, so it appears the 22.04 deb package provided on the releases page is missing some things.

@alphafox02 alphafox02 changed the title Ubuntu 22.04 w/ 7.8.0 missing M17 Ubuntu 22.04 w/ 7.8.0 deb package missing M17 Oct 16, 2022
@alphafox02
Copy link
Author

Sat down, built SDRAngel from source on 22.04 and neither issue I mentioned above is there. There's an issue with the deb releases best I can tell.

In the source build the lib file is in the plugins folder for M17 and both rx/tx are present in the GUI. This is not the case for the deb package. There's also no complaint about libmbe.so.1 in the source built SDRAngel.

@sp5wwp
Copy link

sp5wwp commented Oct 17, 2022

Thanks for investigating this.

@srcejon
Copy link
Collaborator

srcejon commented Oct 17, 2022

It seems there are a few plugins missing from the .deb

libdemodm17.so
libdemodfreedv.so
libdemoddab.so

Two of which depend on codec2, so I guess that's not being detected in the appveyor build.

The DAB demod is probably not finding libDAB.

@f4exb
Copy link
Owner

f4exb commented Oct 17, 2022

yes M17 and FreeDV require Codec2. It should be built as an external library but it is not. It is also present in the dependencies so maybe there is a conflict but I am not convinced

For DAB I think it misses Zip and FAAD to build libDAB.

@f4exb
Copy link
Owner

f4exb commented Oct 18, 2022

For DAB this line appears in the CMake output:

[00:20:19] -- Can't build DAB library as missing zlib or faad

For codec2 I have no idea. It should try to compile it but does not.

@f4exb
Copy link
Owner

f4exb commented Oct 18, 2022

In fact the issue may be here:
https://github.com/f4exb/sdrangel/blob/master/external/CMakeLists.txt#L204
and here...
https://github.com/f4exb/sdrangel/blob/master/external/CMakeLists.txt#L286
https://github.com/f4exb/sdrangel/blob/master/external/CMakeLists.txt#L308
https://github.com/f4exb/sdrangel/blob/master/external/CMakeLists.txt#L591

Because we force the use of packaged libraries that may or may not be installed and may or may not be reported properly.

I guess in the case of codec2 that CODEC2_FOUND is false and since USE_PRECOMPILED_LIBRARIES is true the external project is not built.

@f4exb
Copy link
Owner

f4exb commented Oct 18, 2022

Apparently it needs ENABLE_EXTERNAL_LIBRARIES=AUTO

The latest commit builds M17 and FreeDV plugins. Still not DAB: https://ci.appveyor.com/project/f4exb/sdrangel/build/job/i8n22vgrsk8mc27x

@f4exb
Copy link
Owner

f4exb commented Oct 18, 2022

In the log of CMake I see:

[00:19:06] -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11") 
...
[00:19:06] -- Found FAAD: /usr/lib/x86_64-linux-gnu/libfaad.so  

And it seems it builds libdab

@alphafox02
Copy link
Author

I noticed in appveyor build finished about 2 hours ago that M17 is there, but looking at output in terminal I think maybe a bunch of other things are missing somehow now. Just pasting what I see, maybe still a work in progress. Strange, wish I could be of better help but I'm not familiar with the external libraries settings and such.

 Cannot load library /usr/lib/sdrangel/plugins/libdemoddsd.so: (libdsdcc.so.1: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/sdrangel/plugins/libfeatureambe.so: (libserialdv.so.1: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/sdrangel/plugins/libremotesink.so: (libcm256cc.so.1: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/sdrangel/plugins/libremotesource.so: (libcm256cc.so.1: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/sdrangel/plugins/liboutputremote.so: (libcm256cc.so.1: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/sdrangel/plugins/liboutputlimesdr.so: (libLimeSuite.so.20.01-1: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/sdrangel/plugins/libmimolimesdr.so: (libLimeSuite.so.20.01-1: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/sdrangel/plugins/libinputremote.so: (libcm256cc.so.1: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/sdrangel/plugins/libinputperseus.so: (libperseus-sdr.so.0: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/sdrangel/plugins/libinputlimesdr.so: (libLimeSuite.so.20.01-1: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/sdrangel/plugins/libinputairspyhf.so: (libairspyhf.so.0: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/sdrangel/plugins/libfeaturelimerfe.so: (libLimeSuite.so.20.01-1: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/sdrangel/plugins/libfeatureambe.so: (libserialdv.so.1: cannot open shared object file: No such file or directory)
Cannot load library /usr/lib/sdrangel/plugins/libdemoddsd.so: (libdsdcc.so.1: cannot open shared object file: No such file or directory)

@f4exb
Copy link
Owner

f4exb commented Oct 19, 2022

I think we should revert to DENABLE_EXTERNAL_LIBRARIES=ON and make it a "no" here: https://github.com/f4exb/sdrangel/blob/master/external/CMakeLists.txt#L204

@alphafox02
Copy link
Author

I think you got it, just downloaded 1805 and took a quick peek. M17 is there and I see no complaints of cannot load in the terminal output.

@N5BRG
Copy link

N5BRG commented Oct 19, 2022 via email

@f4exb
Copy link
Owner

f4exb commented Oct 19, 2022

Actually I have reverted to original https://github.com/f4exb/sdrangel/blob/master/external/CMakeLists.txt#L204 but changed appveyor.yaml so that it does not try to use the shell scripts to build some dependencies. I also use DENABLE_EXTERNAL_LIBRARIES=AUTO so that the proper find packages are invoked.

@f4exb
Copy link
Owner

f4exb commented Oct 19, 2022

@N5BRG this is off topic please post to https://groups.io/g/sdrangel

@f4exb f4exb added this to the v7.8.1 milestone Oct 19, 2022
@f4exb
Copy link
Owner

f4exb commented Oct 19, 2022

Implemented in v7.8.1

@f4exb f4exb closed this as completed Oct 19, 2022
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

5 participants