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

Starting up fails #31

Open
CallMeAreks opened this issue Mar 24, 2020 · 4 comments
Open

Starting up fails #31

CallMeAreks opened this issue Mar 24, 2020 · 4 comments

Comments

@CallMeAreks
Copy link

The addon fails to start on Home Assistant 0.106.5

Error loading shared library librtlsdr.so.0: No such file or directory (needed by /usr/local/bin/rtl_433)
Error relocating /usr/local/bin/rtl_433: rtlsdr_get_device_count: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_reset_buffer: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_get_tuner_gains: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_get_device_usb_strings: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_set_tuner_gain_mode: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_close: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_get_device_name: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_set_tuner_gain: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_get_sample_rate: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_read_async: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_set_center_freq: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_open: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_set_sample_rate: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_get_center_freq: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_get_index_by_serial: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_cancel_async: symbol not found
Error relocating /usr/local/bin/rtl_433: rtlsdr_set_freq_correction: symbol not found
[cmd] /bin/ash exited 127

Any ideas what could've happened?

@mraaman
Copy link

mraaman commented Mar 31, 2020

As a workaround, until the image is fixed, you can put

export LD_LIBRARY_PATH=/usr/local/lib64

in your rtl2mqtt.sh

@CallMeAreks
Copy link
Author

That worked, thank you so much!

@dancwilliams
Copy link

dancwilliams commented Sep 15, 2020

w00t! Thanks @mraaman!

GregKolod added a commit to GregKolod/add-ons that referenced this issue Oct 15, 2020
problem z Error loading shared library librtlsdr.so.0: No such file or directory (needed by /usr/local/bin/rtl_433)
james-fry/hassio-addons#31
@mmiller7
Copy link

Just a note, this is not a HomeAssistant issue but rather a RTL_433 update/change. Also be aware the new RTL_433 application publishes sensors under "new" names.

See also: #38

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

4 participants