Results 1 to 4 of 4

Thread: application only can be ran as root or I get a missing library error.

  1. #1

    Default application only can be ran as root or I get a missing library error.

    the binary websdr64 is a software defined radio web server.

    mage@WebSDR:~/dist11> ./websdr
    ./websdr: error while loading shared libraries: libfftw3f.so.3: cannot open shared object file: No such file or directory

    but it works fine as root:

    mage@WebSDR:~/dist11> sudo ./websdr64
    [sudo] password for root:

    >>> WebSDR server (20140718.1716-64)<<<

    Copyright 2007-2014, Pieter-Tjerk de Boer, pa3fwm@websdr.org

    Planning FFTs for band 0... done.
    Planning FFTs for band 1... done.
    Planning FFTs for band 2... done.
    Writing frequency axis images... done

    Anyone have any ideas to be able to run as normal user? The library (libfftw3f.so.3) is installed.

  2. #2

    Default Re: application only can be ran as root or I get a missing library error.

    the permissions for the library are user: root group:root

    mage@WebSDR:~> locate libfftw3f.so.3
    /usr/lib64/libfftw3f.so.3
    /usr/lib64/libfftw3f.so.3.5.6

    could this be why?

  3. #3
    Join Date
    Sep 2008
    Posts
    2,997

    Default Re: application only can be ran as root or I get a missing library error.

    Quote Originally Posted by magesticmage View Post
    the permissions for the library are user: root group:root

    mage@WebSDR:~> locate libfftw3f.so.3
    /usr/lib64/libfftw3f.so.3
    /usr/lib64/libfftw3f.so.3.5.6

    could this be why?
    you should check the permissions on that file
    /usr/lib64/libfftw3f.so.3 is a link to libfftw3f.so.3.5.6
    I get
    Code:
    > ls -l /usr/lib64/libfftw3f.so.3
    lrwxrwxrwx 1 root root 18 мај 12 10:32 /usr/lib64/libfftw3f.so.3 -> libfftw3f.so.3.5.6
    
    > ls -l /usr/lib64/libfftw3f.so.3.5.6
    -rwxr-xr-x 1 root root 1556432 мај 12 10:32 /usr/lib64/libfftw3f.so.3.5.6
    only root can write to it but users can execute said file
    where did you get websdr64 from as it's not available from any of the opensuse repo's or from packman
    https://software.opensuse.org/search...%93&q=websdr64
    http://packman.links2linux.org/searc...ame&q=websdr64

  4. #4

    Default Re: application only can be ran as root or I get a missing library error.

    Update!

    I got the file from http://www.websdr.org/

    We can mark this thread as solved, I was trying to execute the 32 bit version of the binary... My mistake.

    Thanks all...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •