{"id":2647,"date":"2013-11-15T19:43:54","date_gmt":"2013-11-15T11:43:54","guid":{"rendered":"http:\/\/rmohan.com\/?p=2647"},"modified":"2013-11-15T22:25:15","modified_gmt":"2013-11-15T14:25:15","slug":"install-libld-linux-so-2-bad-elf-interpreter-websphere","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=2647","title":{"rendered":".\/install: \/lib\/ld-linux.so.2: bad ELF interpreter Websphere"},"content":{"rendered":"<p>.\/install: \/lib\/ld-linux.so.2: bad ELF interpreter Websphere<\/p>\n<p>root@localhost]# yum install gtk2.i686<br \/>\n[root@localhost]# yum install libXtst.i686<\/p>\n<p>If you received the the missing libstdc++ message above, install the libstdc++ library:<\/p>\n<p>[root@localhost]# yum install compat-libstdc++<\/p>\n<p>Error while launching IBM HTTP Server<br \/>\nI&#8217;ve been working with WebSphere Application Server in a Red Hat Virtual Machine, and the other day, after restarting the virtual machine, I was not able to launch IBM HTTP Server from the WebSphere Integrated Console.<br \/>\nI tried to start IBM HTTP Server from the command line using the following command:<\/p>\n<p>[root@xxx ~]# \/opt\/IBM\/HTTPServer\/bin\/httpd -f \/opt\/IBM\/HTTPServer\/conf\/httpd.conf<\/p>\n<p>And I&#8217;ve got the following error:<\/p>\n<p>.\/opt\/IBM\/HTTPServer\/bin\/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory<\/p>\n<p>After checked that the file libaprutil-1.so.0 existed in the \/opt\/IBM\/HTTPServer\/lib, I understood that the problem should be that the HTTP Server does not know where to look for the libraries, or, in other words, the LD_LIBRARY_PATH was empty or does not included that directory.<br \/>\nAnd yeah, actually the variable LD_LIBRARY_PATH was empty, so, I used the command:<\/p>\n<p><strong>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:\/opt\/IBM\/HTTPServer\/lib<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>.\/install: \/lib\/ld-linux.so.2: bad ELF interpreter Websphere<\/p>\n<p>root@localhost]# yum install gtk2.i686 [root@localhost]# yum install libXtst.i686<\/p>\n<p>If you received the the missing libstdc++ message above, install the libstdc++ library:<\/p>\n<p>[root@localhost]# yum install compat-libstdc++<\/p>\n<p>Error while launching IBM HTTP Server I&#8217;ve been working with WebSphere Application Server in a Red Hat Virtual Machine, and the other day, after [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2647"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2647"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2647\/revisions"}],"predecessor-version":[{"id":2648,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/2647\/revisions\/2648"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}