プログラムを中心とした個人的なメモ用のブログです。
タイトルは迷走中。
内容の保証はできませんのであしからずご了承ください。
CentOSであるプログラムを実行しようとしたら下記のエラーが表示されました。
error while loading shared libraries: libstlport.so.5.2: cannot open shared object file: No such file or directory
libstlport.so.5.2がないようです。
これを解決するには、STLportをインストールする必要があります。
以下のサイトからRPMパッケージをダウンロードします。
http://rpm.pbone.net/index.php3/stat/4/idpl/11327304/com/STLport-.2.1-1.el5.pp.i386.rpm.html
ダウンロードしたら右クリックし、「パッケージインストーラで開く」を選択し、インストールします。
以上でOKです。
環境はCentOS 6.8です。
まずwinbindをインストールします。
$ sudo yum install samba-winbind
/etc/nsswitch.conf を編集し、wins を追加します。
$ sudo gedit /etc/nsswitch.conf
以下の行に
hosts: files dns
wins を追加します。
hosts: files wins dns
Windows PC に ping を打って確認します。
$ ping コンピューター名