Coder Social home page Coder Social logo

Comments (4)

kzyapkov avatar kzyapkov commented on August 22, 2024 8

I think this happens because the librtlsdr0 debian package provides

/usr/lib/arm-linux-gnueabihf/librtlsdr.so.0.5.3
/usr/lib/arm-linux-gnueabihf/librtlsdr.so.0

which overlaps the .so name this code tries to link with. Workaround with

LD_LIBRARY_PATH=/usr/local/lib rtl_biast -b 1

from rtl_biast.

senglk avatar senglk commented on August 22, 2024

I am using Raspbian 9 Stretch and I am experiencing the same issue.

git clone https://github.com/rtlsdrblog/rtl_biast
cd rtl_biast
mkdir build
cd build
cmake ..
make
sudo make install

but the error in the code block of OP appears when I try to run rtl_biast. Though I can go to the rtl_biast/build/src directory to run it.

Any advice for me on how to fix this?

from rtl_biast.

LetsTryLibertyAgain avatar LetsTryLibertyAgain commented on August 22, 2024

I get the following error whenever I run rtl_biast, regardless of the parameters, or even with no parameters at all.

rtl_biast: symbol lookup error: rtl_biast: undefined symbol: rtlsdr_close_bt

My Ubuntu 18.04 computer has the following in /usr/local/lib

librtlsdr.a
librtlsdr.so
librtlsdr.so.0
librtlsdr.so.0.5git
librtlsdr.so.0.6git

That's the only place where any librtlsdr libraries are found.

The problem started as soon as I compiled and installed rtl_biast. The error occurs even when I run rtl_biast when I'm in /usr/local/lib.

I've tried:

LD_LIBRARY_PATH=/usr/local/lib
LD_LIBRARY_PATH=/usr/local/lib rtl_biast -b 1

I've also tried

sudo ldconfig

I tried

export PATH=$PATH:/usr/local/lib$

and verified that /usr/local/lib was in the path with

echo $PATH

I still get the same "undefined symbol: rtlsdr_close_bt" error message.

I tried

sudo apt-get autoremove gqrx-sdr

to remove gqrx and all libraries, then reinstalled them with

sudo apt-get install gqrx-sdr

Same error message. I'm beginning to think I may never get my bias T powered preamp to work.

from rtl_biast.

rtlsdrblog avatar rtlsdrblog commented on August 22, 2024

It's not a good idea to run sudo make install with the bias tee software. Run it within the compiled src directory only.

I think what has happened with yours is that you have multiple driver conflicts. I would suggest running apt-get remove rtl-sdr, deleting any librtlsdr remnants, then installing the RTL-SDR Osmocom drivers. Then compile the rtl_biast software, but do not make install it.

from rtl_biast.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.