Tuesday, April 15, 2014

Solaris: using LD_PRELOAD


exc04-sv02d:~ # smbclient -W DPWSERVICES -U michael.dean  //10.255.227.42/SHARE
Enter michael.dean's password:
Domain=[DPWSERVICES] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
ld.so.1: smbclient: fatal: relocation error: file /usr/lib/libreadline.so.5: symbol tgetent: referenced symbol not found
Killed



exc04-sv02d:~  # man tgetent

        cc [ flag ... ] file ... -lcurses [ library ... ]



exc04-sv02d:~ # LD_PRELOAD=/usr/lib/libcurses.so smbclient -W DPWSERVICES -U michael.dean  //10.255.227.42/SHARE



No comments:

Post a Comment