Aspera

 View Only
  • 1.  aspera install on Ubuntu

    Posted Tue May 28, 2024 06:07 PM

    Dear all,

    I fail to run aspera on my Ubuntu 20.04.6 LTS. It installs without error, but when I run it, I get the following error message

    Anyone able to help?

    Thanks and best

    Klemens

    $ ~/.aspera/connect/bin/asperaconnect
    ERROR: ld.so: object '/home/rstudio/.aspera/connect/bin/../lib/libssl.so.1.0.0' from LD_PRELOAD cannot be preloaded (cannot                                                                              open shared object file): ignored.
    ERROR: ld.so: object '/home/rstudio/.aspera/connect/bin/../lib/libcrypto.so.1.0.0' from LD_PRELOAD cannot be preloaded (can                                                                             not open shared object file): ignored.
    ERROR: ld.so: object '/home/rstudio/.aspera/connect/bin/../lib/libssl.so.1.0.0' from LD_PRELOAD cannot be preloaded (cannot                                                                              open shared object file): ignored.
    ERROR: ld.so: object '/home/rstudio/.aspera/connect/bin/../lib/libcrypto.so.1.0.0' from LD_PRELOAD cannot be preloaded (can                                                                             not open shared object file): ignored.
    /home/rstudio/.aspera/connect/bin/asperaconnect.bin: error while loading shared libraries: libGLX.so.0: cannot open shared                                                                              object file: No such file or directory



    ------------------------------
    Klemens Vierlinger
    ------------------------------


  • 2.  RE: aspera install on Ubuntu

    Posted Wed May 29, 2024 03:45 AM

    Hi,

    I installed Connect 4.4 on Rocky Linux 9, and got same issue:

    There seems to be a bug in the starter script, to fix this, I did:

    sed -i.bak 's/^\(export LD_PRELOAD=\)/#\1/' $HOME/.aspera/connect/bin/asperaconnect

    This fixes the startup script.

    On Rocky 9, I also installed the following packages to get missing libs:

    sudo dnf install -y libglvnd-glx fontconfig

    One can check if all libraries are found with :

    ldd $HOME/.aspera/connect/bin/asperaconnect.bin



    ------------------------------
    Laurent Martin
    ------------------------------



  • 3.  RE: aspera install on Ubuntu

    Posted Wed May 29, 2024 06:23 AM

    Thanks for your quick and competent answer, it solved the problem at hand, but another issue now popped up:

     

    $ ~/.aspera/connect/bin/asperaconnect                                               

    qt.qpa.plugin: Could not find the Qt platform plugin "offscreen" in ""

    This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

     

    Available platform plugins are: xcb.

     

    Reinstalling Qt not change the behavoir.

     

    Has anyone come across that problem before?

     

    Many thanks and best regards

    Klemens

     

     

     

    KLEMENS VIERLINGER
    Senior Scientist
    Molecular Diagnostics
    Center for Health & Bioresources

    AIT Austrian Institute of Technology GmbH
    Giefinggasse 4 | 1210 Vienna | Austria
    T +43 50550-4459 | M +43 664 6207633
    klemens.vierlinger@ait.ac.at | www.ait.ac.at



    FN: 115980 i HG Wien | UID: ATU14703506
    www.ait.ac.at/Email-Disclaimer

    For data protection related information see:
    www.ait.ac.at/Disclaimer-Data-Protection

     






  • 4.  RE: aspera install on Ubuntu

    Posted Wed May 29, 2024 08:56 AM

    Well, I tested on ubuntu 22.04 and Aspera Connect works (even without changing the start script)

    You might try to see what's wrong with Qt with:

    QT_DEBUG_PLUGINS=1 QT_PLUGIN_PATH=$HOME/.aspera/connect/plugins $HOME/.aspera/connect/bin/asperaconnect.bin



    ------------------------------
    Laurent Martin
    ------------------------------



  • 5.  RE: aspera install on Ubuntu

    Posted Wed May 29, 2024 09:13 AM

    This what I get as an output, but don't know what it means...

    Best regards and many thanks

    Klemens

     

     

     

    rstudio@rstudiolxc:~$ QT_DEBUG_PLUGINS=1 QT_PLUGIN_PATH=$HOME/.aspera/connect/plugins $HOME/.aspera/connect/bin/asperaconnect.bin

    qt.core.plugin.factoryloader: checking directory path "/home/rstudio/.aspera/connect/plugins/platforms" ...

    qt.core.plugin.factoryloader: looking at "/home/rstudio/.aspera/connect/plugins/platforms/libqxcb.so"

    qt.core.plugin.loader: Found metadata in lib /home/rstudio/.aspera/connect/plugins/platforms/libqxcb.so, metadata=

    {

        "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",

        "MetaData": {

            "Keys": [

                "xcb"

            ]

        },

        "archlevel": 1,

        "className": "QXcbIntegrationPlugin",

        "debug": false,

        "version": 394496

    }

     

     

    qt.core.plugin.factoryloader: Got keys from plugin meta data QList("xcb")

    qt.core.plugin.factoryloader: checking directory path "/home/rstudio/.aspera/con                                                                                                                                                             nect/bin/platforms" ...

    qt.core.library: "/home/rstudio/.aspera/connect/plugins/platforms/libqxcb.so" lo                                                                                                                                                             aded library

    qt.qpa.xcb: could not connect to display

    qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it                                                                                                                                                              was found.

    This application failed to start because no Qt platform plugin could be initiali                                                                                                                                                             zed. Reinstalling the application may fix this problem.

     

    Available platform plugins are: xcb.

     

    Aborted (core dumped)

     

    KLEMENS VIERLINGER
    Senior Scientist
    Molecular Diagnostics
    Center for Health & Bioresources

    AIT Austrian Institute of Technology GmbH
    Giefinggasse 4 | 1210 Vienna | Austria
    T +43 50550-4459 | M +43 664 6207633
    klemens.vierlinger@ait.ac.at | www.ait.ac.at



    FN: 115980 i HG Wien | UID: ATU14703506
    www.ait.ac.at/Email-Disclaimer

    For data protection related information see:
    www.ait.ac.at/Disclaimer-Data-Protection

     






  • 6.  RE: aspera install on Ubuntu

    Posted Wed May 29, 2024 10:21 AM

    Well, it's same issue with more details.

    There is this message:

    qt.qpa.xcb: could not connect to display

    That means that the connect client cannot open the display.

    Check your variable $DISPLAY

    Basically, I can reproduce the problem like this, by using a non-existing display:

    DISPLAY=:5 QT_DEBUG_PLUGINS=1 QT_PLUGIN_PATH=$HOME/.aspera/connect/plugins $HOME/.aspera/connect/bin/asperaconnect.bin

    By the way,

    Aspera Connect is a client to be used with a web browser application.

    Normally, after installation, it has registered a protocol handler so that a browser can start it.

    So normal usage is not to start on command line, it should be started by the windowing system.

    So maybe first confirm what you want to do: transfer with Aspera using a web browser ?



    ------------------------------
    Laurent Martin
    ------------------------------



  • 7.  RE: aspera install on Ubuntu

    Posted Wed May 29, 2024 05:17 PM

    Thanks, that would explain it!

    I was told I would be able to use it from the shell... Are you considering providing a command line interface in the future?

    Best

    Klemens

     

     

     

    KLEMENS VIERLINGER
    Senior Scientist
    Molecular Diagnostics
    Center for Health & Bioresources

    AIT Austrian Institute of Technology GmbH
    Giefinggasse 4 | 1210 Vienna | Austria
    T +43 50550-4459 | M +43 664 6207633
    klemens.vierlinger@ait.ac.at | www.ait.ac.at



    FN: 115980 i HG Wien | UID: ATU14703506
    www.ait.ac.at/Email-Disclaimer

    For data protection related information see:
    www.ait.ac.at/Disclaimer-Data-Protection

     






  • 8.  RE: aspera install on Ubuntu

    Posted Wed May 29, 2024 07:56 PM

    There is the IBM Aspera Desktop Client - which is a free cli based installation. It contains the ascp command line application. You can download this from IBM Fix Central

    https://www.ibm.com/products/aspera/downloads

    Then look for IBM Aspera Desktop Client - which will have a link to IBM Fix Central

    There is also the aspera-cli

    This is an open source, Ruby based tool, that can perform many tasks like calling REST APIs in the Aspera platform. It also contains an ascp command line application to perform file transfers.

    https://github.com/IBM/aspera-cli

    thanks,

    Ben



    ------------------------------
    BEN FORSYTH
    ------------------------------



  • 9.  RE: aspera install on Ubuntu

    Posted Thu May 30, 2024 04:04 AM

    Eh eh, I was suspecting you were looking for the command line ... (molecular business...)

    As Ben wrote, you have a choice of two command line tools:

    • ascp : the low level command line for Aspera Transfers
    • ascli : the high level command line provided in ruby gem: aspera-cli

    On Ubuntu I suggess you install aspera-cli, it's normally easy:

    sudo apt-get install -y ruby-full

    sudo gem install aspera-cli

    ascli conf ascp install

    Then you have both CLI :

    ascli shall be directly available in the PATH (/usr/local/bin/ascli)

    and ascp will be located here: $HOME/.aspera/sdk/ascp

    For example the following two command are equivalent:

    ASPERA_SCP_PASS=demoaspera $HOME/.aspera/sdk/ascp --host=demo.asperasoft.com -P 33001 --user=aspera --mode=recv -l 100m /aspera-test-dir-small/10MB.1 .

    ascli server --url=ssh://demo.asperasoft.com:33001 --username=aspera --password=demoaspera download /aspera-test-dir-small/10MB.1 --to-folder=. --ts=@json:'{"target_rate_kpbs":100000}'

    Note that ascp is part of the connect client, so you already have it here: $HOME/.aspera/connect/bin/ascp

    ascli has capabilities of transfer resume, configuration file, and more (see its manual: https://github.com/IBM/aspera-cli)



    ------------------------------
    Laurent Martin
    ------------------------------



  • 10.  RE: aspera install on Ubuntu

    Posted Thu May 30, 2024 04:44 AM

    Thanks a lot, will give it a try!

    Best

    Klemens