Linux – Start breaks

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • (@carlgr)

    Moin,

    download: SJC200828.tar.gz (there is no other version)
    extract the file.

    The start script sets up PATH (and export) and LD_LIBRARY_PATH to working directory.

    get the error: error while loading shared libraries: libQt5WebSockets.so.5: cannot open shared object file: No such file or directory

    But libQt5WebSockets.so.5 exist in working directory.

    What’s wrong?

    (@djmtest01)

    I have the same error – did you ever resolve it?

    ubuntu-studio@ubuntu-studio:~/Downloads/SoundjackLinux$ pwd
    /home/ubuntu-studio/Downloads/SoundjackLinux
    ubuntu-studio@ubuntu-studio:~/Downloads/SoundjackLinux$ uname -a
    Linux ubuntu-studio 5.4.0-42-lowlatency #46-Ubuntu SMP PREEMPT Fri Jul 10 01:43:58 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
    ubuntu-studio@ubuntu-studio:~/Downloads/SoundjackLinux$ ls -la
    total 14880
    drwxrwxr-x 2 ubuntu-studio ubuntu-studio     200 Sep  8 09:06 .
    drwxr-xr-x 3 ubuntu-studio ubuntu-studio      80 Sep 24 14:10 ..
    -rwxrwxr-x 1 ubuntu-studio ubuntu-studio 2014160 Sep  8 09:06 SJC200828
    -rwxrwxr-x 1 ubuntu-studio ubuntu-studio      81 Aug 28 20:22 SJC200828.sh
    -rwxrwxr-x 1 ubuntu-studio ubuntu-studio 5052920 Jul  3 16:59 libQt5Core.so.5
    -rwxrwxr-x 1 ubuntu-studio ubuntu-studio 5514016 Jul  3 16:59 libQt5Gui.so.5
    -rwxrwxr-x 1 ubuntu-studio ubuntu-studio  934872 Jul  3 16:59 libQt5Multimedia.so.5
    -rwxrwxr-x 1 ubuntu-studio ubuntu-studio  127424 Jul  3 16:59 libQt5MultimediaWidgets.so.5
    -rwxrwxr-x 1 ubuntu-studio ubuntu-studio 1412480 Jul  3 16:59 libQt5Network.so.5
    -rwxrwxr-x 1 ubuntu-studio ubuntu-studio  163832 Jul  3 16:59 libQt5WebSockets.so.5
    ubuntu-studio@ubuntu-studio:~/Downloads/SoundjackLinux$ ./SJC200828.sh 
    ./SJC200828: error while loading shared libraries: libQt5WebSockets.so.5: cannot open shared object file: No such file or directory
    

    The file seems to be accessible, but still get the error

    (@djmtest01)

    after manually setting the path to the files in the folder
    ubuntu-studio@ubuntu-studio:~$ export LD_LIBRARY_PATH=/home/ubuntu-studio/Downloads/SoundjackLinux:$LD_LIBRARY_PATH
    i now get a different error
    `ubuntu-studio@ubuntu-studio:~/Downloads/SoundjackLinux$ ./SJC200828.sh
    ./SJC200828: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory’

    i haven’t got libpng12, but libpng16 is installed in /usr/lib/x86_64-linux-gnu

    feeding version 16 to SJC gets me on to the same error for a new file

    ./SJC200828: error while loading shared libraries: libicui18n.so.55: cannot open shared object file: No such file or directory

    i believe this would be because either there is an unmet dependency on another package or maybe dissimilar installation paths of libraries?

    I’m at home working in a terminal, but usually use MacOS, so I’m a bit lost on how to proceed. Any help would be appreciated.

    (@carlgr)

    My Linux is Arch. There is no environment variable LD_LIBRARY_PATH.

    I have done some changes in SJC200828.sh:

    #export PATH=./:$PATH/
    export PATH=$(pwd)/:$PATH
    echo $PATH
    #LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:.
    LD_LIBRARY_PATH=$(pwd)
    echo $LD_LIBRARY_PATH
    ./SJC200828

    Than I also get the error of missing libpng12.
    After install libpng12 the error changes => ./SJC200828: error while loading shared libraries: libicui18n.so.55: cannot open shared object file: No such file or directory

    On my system libicui18n.so is installed in version 67.1-1 an a part of the package core/icu 67.1-1 (remember: Arch Linux)
    This is stuff about: International Components for Unicode library
    The library file is located: /usr/lib/libicui18n.so.67.1
    Set link: ln -s /usr/lib/libicui18n.so.67.1 /usr/lib/libicui18n.so.55

    Next error: ./SJC200828: error while loading shared libraries: libicuuc.so.55: cannot open shared object file: No such file or directory
    Next link: ln -s /usr/lib/libicuuc.so.67.1 /usr/lib/libicuuc.so.55

    The story goes on:
    ./SJC200828: error while loading shared libraries: libpcre16.so.3: cannot open shared object file: No such file or directory
    libpcre16.so.3 is not a part of the package icu.

    ln -s /usr/lib/libpcre16.so.0.2.12 /usr/lib/libpcre16.so.3
    This looks unwise, cause my version is much older than the required.
    libpcre16 is about perl5 REGEX.

    It possible that my changes helped. Know I get a bunch of errors.

    ./SJC200828: /home/cs/Downloads/SoundjackLinux/libQt5Gui.so.5: versionQt_5_PRIVATE_API’ not found (required by /usr/lib/libQt5Widgets.so.5)
    ./SJC200828: /home/cs/Downloads/SoundjackLinux/libQt5Gui.so.5: version `Qt_5′ not found (required by /usr/lib/libQt5Widgets.so.5)
    ./SJC200828: /home/cs/Downloads/SoundjackLinux/libQt5Core.so.5: version `Qt_5.15′ not found (required by /usr/lib/libQt5Widgets.so.5)
    ./SJC200828: /home/cs/Downloads/SoundjackLinux/libQt5Core.so.5: version `Qt_5_PRIVATE_API’ not found (required by /usr/lib/libQt5Widgets.so.5)
    ./SJC200828: /home/cs/Downloads/SoundjackLinux/libQt5Core.so.5: version `Qt_5′ not found (required by /usr/lib/libQt5Widgets.so.5)
    ./SJC200828: /home/cs/Downloads/SoundjackLinux/libQt5Core.so.5: version `Qt_5.15′ not found (required by /usr/lib/libQt5OpenGL.so.5)
    ./SJC200828: /home/cs/Downloads/SoundjackLinux/libQt5Core.so.5: version `Qt_5_PRIVATE_API’ not found (required by /usr/lib/libQt5OpenGL.so.5)
    ./SJC200828: /home/cs/Downloads/SoundjackLinux/libQt5Core.so.5: version `Qt_5′ not found (required by /usr/lib/libQt5OpenGL.so.5)
    ./SJC200828: /home/cs/Downloads/SoundjackLinux/libQt5Gui.so.5: version `Qt_5_PRIVATE_API’ not found (required by /usr/lib/libQt5OpenGL.so.5)
    ./SJC200828: /home/cs/Downloads/SoundjackLinux/libQt5Gui.so.5: version `Qt_5′ not found (required by /usr/lib/libQt5OpenGL.so.5)

    I’m not using KDE nor GNOME Desktop. I use Awesome WM.
    Qt and GTK are only installed in parts.

    I stopped my research of trial and error to get an first impression.

    I’m sceptical abaout fighting latency over a network with unknown number of network knots, which are not under control.
    I will read the Ph.D. thesis. First I must know more about the concept.

    By.

    (@jazzalex)

    On Linux simply install any missing lib step-by-step until the app launches. Some libs of the packet might not work – in this case also install them via

    apt-get or yum

    depending on your distribution.

    Regarding libicui18n.so.55 just install it and see what comes up next.

    We might improve the Linux installer sooner or later.

    Best

    Alex

    (@andrewwilliams1)

    That’s what I did. I had to be creative because some of the libraries could not be found in current repositories for Ubuntu 20.04. I had to google them individually until I found packages that contained them and then did a lot of “sudo apt-get install _________” until I got them all.

    (@andrewwilliams1)

    This is what my command history looked like when I was installing SJC:

    20 cd SoundjackLinux
    21 ls
    22 ./SJC00828.sh
    23 ./SJC200828.sh
    24 libQt5MultimediaWidgets
    25 sudo apt install libQt5MultimediaWidgets
    26 sudo apt install libQt5
    27 sudo apt install libQt5Multimedia5
    28 sudo apt install Qt5
    29 sudo apt-get install qt5-default
    30 ./SJC200828.sh
    31 sudo apt-get install libqt5
    32 sudo apt-get install libqt5widgets5
    33 ./SJC200828.sh
    34 SJC200828
    35 ls
    36 yum libQt5MultimediaWidgets
    37 sudo apt-get install qt5-library
    38 ps aux
    39 ls
    40 /home/awilz/Downloads/SoundjackLinux/SJC200828
    41 ./SJC200828
    42 ./SJC200828.sh
    43 reboot
    44 sudo apt-get install -y libqtav-dev
    45 sudo apt-get install qtcreator
    46 sudo apt-get install qt5-default
    47 sudo apt-get install libqt5webkit5
    48 sudo apt-get install libqt5multimediawidgets5
    49 sudo apt-get install libqt5x11extras5
    50 ./SJC200828.sh
    51 pwd
    52 cd Downloads
    53 ls
    54 cd SoundjackLinux
    55 ./SJC200828.sh
    56 ls
    57 sudo apt-get install libqt5webkit5
    58 sudo apt-get install libqt5websockets
    59 sudo apt-get install libqt5websockets5
    60 ./SJC200828.sh

    (@andrewwilliams1)

    I think to make things easy for people to install this thing on linux it would be great if you guys could make a repository that has the exact libraries needed so it can be found with one or two commands.

    (@reno-drums)

    Hello,
    I’m completely new on Linux and have the same problem,
    but currently I feel overloaded to realize all that steps
    from Andrew Williams.
    Sorry …
    Reno

    (@andrewwilliams1)

    a lot of those steps were trial and error. I eventually got it working though. make sure to accurately READ all of the error messages.

    (@bosworthdk)

    @andrewwilliams1 : Thank you so much. I’ve been busy over the weekend, but I’ll get back to trying this out and posting my results.

    @reno-drums
    : I understand that this is definitely not the first thing you want to experience, when using Linux. If you give me some more information, I’ll try to help. Could you tell us which distribution of Linux you are using (ubuntu, debian, avlinux etc.)?

    (@reno-drums)

    @bosworthdk : Thank you very much! I’m using Linux Mint 20 “Ulyana”, which is based on Ubuntu. But as I’ve written, I’m a complete newby, trying out Linux for curiosity after having used Windows for 25 years and macOS for 4 month – the last to learn and try out Soundjack for lower latencies.

    So, on Linux I’m at a very, very low level, and I’m just beginning to learn the basics of terminal commands.

    I expected to connect to Soundjack stage as easy as on Windows or macOS, but currently there is no need to do it on Linux, because I have a Macbook Pro available for this.

    So, you should not waste your time for me (;-) (;-). Thanks a lot!

    (@bosworthdk)

    @reno-drums : 🙂 all good. I’ll try to post my progress nonetheless and you can have a go if you need.

    (@bosworthdk)

    Here was my solution to get it running at all:

    cd Downloads/SoundJackLinux/
    export LD_LIBRARY_PATH=/home/ubuntu-studio/Downloads/SoundjackLinux:$LD_LIBRARY_PATH
    sudo add-apt-repository ppa:linuxuprising/libpng12
    sudo apt update
    sudo apt install libpng12-0
    wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu55_55.1-7_amd64.deb
    sudo dpkg -i libicu55_55.1-7_amd64.deb
    sudo apt-get install libpcre16-3

    then reboot

    (@bosworthdk)

    i don’t know why it got split up.
    export LD_LIBRARY_PATH=/home/ubuntu-studio/Downloads/SoundjackLinux:$LD_LIBRARY_PATH
    must be on one line

Viewing 15 posts - 1 through 15 (of 25 total)
  • You must be logged in to reply to this topic.