What's new

Oops, RT-AC68U binaries hosed...

  • 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!

JGrana

Very Senior Member
Well, I decided to install Optware on my RT-AC68U running 374.38. I used the "install Download Manager, then uninstall Download Manager" through the WebUI.
Worked great, I was able to ipkg away. I installed a few applications - rsync, bash, smartmontools and iperf.
Things seemed to be working fine. Until this morning. I have my router reboot every Sunday evening. This morning, the WebUI worked fine, I was able to look at logs, etc.
But, when I ssh into the router, it appears I have some dynamic library issues. For example, running "ls" results in the error:
ls: can't resolve symbol '__aeabi_uidiv'
As a side, running "ls -l" is fine.
Running "df" gives this error:
df: can't resolve symbol '__aeabi_uldivmod'

I thought at first buybox was corrupted. But, even commands that are not busybox links will throw unresolved symbol errors.
I have also noticed that my LD_LIBRARY_PATH is /opt/lib...

Thanks
 
Fixed (for now)

FWIW, I found that a lib in /opt/lib was not compiled for this router.

So, I simply edited /opt/etc/profile and added /lib to the beginning of the LD_LIBRARY_PATH:

Was:
LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}

Changed to:

LD_LIBRARY_PATH=/lib:/opt/lib:${LD_LIBRARY_PATH}

Everything seems to be working fine.

Motto - be careful when installing Optware...
 
Thx JGrana.

I was having the same issue with the command more. I believe this was due to the last installation of the Bash package but not sure.
Anyway, this is resolved from my side.

Thank you again
 
It is indeed caused by installing Bash from optware. The proposed solution works great, thanks!
 

Similar 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!
Top