What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

RT-AC5300 380.66_4 missing libresolv.so.0

johple

New Around Here
Issue: libresolv.so.0 is missing
I updated my RT-AC5300 from the stock asuswrt firmware (sorry I don't have that FW version. It was the most recent build as of May 31, 2017) to asuswrt-merlin (RT-AC5300_380.66_4.trx).

Using the stock asus firmware I had setup a samba share of a usb-hdd which was working. unfortunately, the stock firmware samba version appeared to be samba 3.0.x which did not support SMB V2 (or greater).

Once I found that Merlin does support newer samba versions (and SMB V2) I promptly decided to migrate to asuswrt-merlin.

Under both FW versions, the samba share does work perfectly, however there seems to be a problem. Using the stock FW executing the command smbd -V correctly reports the samba version, but under Merlin I get an error message - "smbd: can't load library 'libresolv.so.0'".

Steps to recreate on Merlin:
* ssh to router.asus.com as admin
* execute: smbd -V
 
This is because you are running the wrong instance of smbd. That instance is the old 3.0.xx optimized by Tuxera, which we don't use. One is in /usr/bin, the other in /usr/sbin.

I know, highly confusing, but that's how Asus designed it... I need to disable that Tuxera customized version sometime.
 
Thanks for the replies!
@john9527
which smbd returns /usr/bin/smbd

@RMerlin
Thanks very much for that tip! Indeed I now see that:
1) There are two smbd executables one in /usr/bin (the "bad" one) and one in /usr/sbin (the "good" one)
2) /usr/sbin/smbd -V returns --> Version 3.6.25
3) the version of smbd that is actually running is the "good" one from /usr/sbin

I think this resolves my issue! Thanks very much for your help!
 

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top