Error While Loading Shared Libraries Libxm So 3 Omnibus
Contents |
launch nco & after install OMNIBus 7.4 6 replies Latest Post - 2014-04-27T01:08:43Z by Alan Ting Display:ConversationsBy Date 1-7 of 7 Previous Next Alan Ting 2700056D53 8 Posts Pinned topic Unable to libxm.so.3: cannot open shared object file: no such file or directory launch nco & after install OMNIBus 7.4 2014-04-25T07:52:10Z | Tags: Answered question libxm.so.4: cannot open shared object file This question has been answered. Unanswered question This question has not been answered yet. Hi I tried to
Openmotif
launch nco & after install OMNIBus 7.4 for POC and prompted an error as below /opt/IBM/tivoli/netcool/omnibus/platform/linux2x86/bin64/nco: error while loading shared libraries: libXm.so.4: cannot open shared object file: No such file or directory OS Platform SUSE 11.2 x64 openmotif-libs-32bit was installed Is a similar error KB1612290, but to workaround don't work for me http://www-01.ibm.com/support/docview.wss?uid=swg21612290 Log in to reply. Updated on 2014-04-27T01:09:37Z at 2014-04-27T01:09:37Z by Alan Ting idocs 06000187VH 12 Posts Re: Unable to lunch nco & after install OMNIBus 7.4 2014-04-25T08:05:05Z This is the accepted answer. This is the accepted answer. You need to locate the library file, and add the library path to the users environment: e.g. find / -name libXm.so.4 /usr/lib/motif/lib/libXm.so.4 Then set: LD_LIBRARY_PATH=/usr/lib/motif/lib export LD_LIBRARY_PATH and try again. The old manual stated: On Linux, the Netcool/OMNIbus installation provides dynamic (rather than static) links to the Open Motif 2.2.3 library. If this library is installed within its default system directory (for example, /usr/X11R6/lib/libXm.so.3), the LD_LIBRARY_PATH environment variable is automatically set to this path. However, if the library is installed in a different location, you must manually update the environment variable with this location. As with other UNIX operating systems, you can check the shared library paths. Log in to reply. Alan Ting 2700056D53 8 Posts Re: Unable to lunch nco & after install OMNIBus 7.4 2014-04-25T09:45:40Z This is the accepted answer. This is the accepted answer. idocs 06000187VH 2014-04-25T08:05:05Z You need to locate the library file, and add the library path to the users environment: e.g. find / -name libXm.so.4 /usr/lib/motif/lib/libXm.so.4 Then set: LD_LIBRARY_PATH=/usr/lib/motif/lib export LD_LIBRARY_PATH and try again. The old manual stated: On Linux, the Netcool/OMNI
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up ldd can't find library in LD_LIBRARY_PATH up vote 10 down https://www.ibm.com/developerworks/community/forums/html/topic?id=dac00823-ce3a-4aff-9373-b6a388a1de93 vote favorite 2 I'm trying to get a system up and running, and am having problems with the OpenMotif shared libraries. I have their directory in LD_LIBRARY_PATH, but it still can't find them. Here's an example: [root@intrepid netcool]# ldd /opt/netcool/omnibus/platform/linux2x86/bin/nco_* |grep 'not found' libXm.so.3 => not found libXpm.so.4 => not found libXm.so.3 => not found libXm.so.3 => not found libXpm.so.4 => not found libXm.so.3 => not found libXm.so.3 http://stackoverflow.com/questions/10341044/ldd-cant-find-library-in-ld-library-path => not found libXm.so.3 => not found libXm.so.3 => not found [root@intrepid netcool]# find /usr/ -name libXm.so.3 /usr/lib64/libXm.so.3 [root@intrepid netcool]# find /usr/ -name libXpm.so.4 /usr/lib64/libXpm.so.4 [root@intrepid netcool]# echo $LD_LIBRARY_PATH /opt/netcool/omnibus//platform/linux2x86/lib/:/opt/netcool//platform/linux2x86/lib/:/usr/lib/:/usr/lib64/ I'm probably doing something stupid, but I can't think of anything else to try. EDIT: To answer a couple of the questions asked below: [root@intrepid netcool]# export LD_LIBRARY_PATH [root@intrepid netcool]# ldd /opt/netcool/omnibus/platform/linux2x86/bin/nco_* |grep 'not found' libXm.so.3 => not found libXpm.so.4 => not found libXm.so.3 => not found libXm.so.3 => not found libXpm.so.4 => not found libXm.so.3 => not found libXm.so.3 => not found libXm.so.3 => not found libXm.so.3 => not found [root@intrepid netcool]# ldconfig [root@intrepid netcool]# ldd /opt/netcool/omnibus/platform/linux2x86/bin/nco_* |grep 'not found' libXm.so.3 => not found libXpm.so.4 => not found libXm.so.3 => not found libXm.so.3 => not found libXpm.so.4 => not found libXm.so.3 => not found libXm.so.3 => not found libXm.so.3 => not found libXm.so.3 => not found Ok, just tried to run one of the executables: # ./bin/nco_xigen /opt/netcool//omnibus/platform/linux2x86/bin/nco_xigen: error while loading shared libraries: libXm.so.3: wrong ELF class: ELFCLASS64 Is this a 32 bit/64 bit thing? unix shared-libraries ldd share|improve this question edited Apr 26 '12 at 21:31 asked Apr 26 '12 at 20:35 coding_hero 70921129 1 Did you export LD_LIBRARY_PATH? –vha
here for a quick overview of the site Help Center Detailed answers to any questions you might have http://unix.stackexchange.com/questions/165877/i-am-getting-an-error-while-loading-shared-libraries-libxm-so-3 Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Unix & Linux Questions Tags Users Badges Unanswered Ask Question _ Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like cannot open operating systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top I am getting an error while loading shared libraries libXm.so.3 up vote 2 down vote favorite I have installed a program called Swiss PDB. cannot open shared Upon running the program I get the error: /usr/share/SPDBV/bin/spdbv.Linux: error while loading shared libraries: libXm.so.3: cannot open shared object file: No such file or directory I have used apt-file search libXm.so.3 which gives the output: libxm4: /usr/lib/x86_64-linux-gnu/libXm.so.3 The file itself is a Link to shared library (application/x-sharedlib). With the link target as libXm.so.4.0.4 I'm not sure how to make this program run without getting the error? How do I tell the program where the the shared library is? file /usr/share/SPDBV/bin/spdbv.Linux /usr/share/SPDBV/bin/spdbv.Linux: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped robert@robert-HP-Compaq-8200-Elite-CMT-PC:~$ ldd /usr/share/SPDBV/bin/spdbv.Linux linux-gate.so.1 => (0xf77cb000) libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf7673000) libXm.so.3 => not found libXp.so.6 => not found libXt.so.6 => /usr/lib/i386-linux-gnu/libXt.so.6 (0xf7616000) libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf7603000) libXi.so.6 => /usr/lib/i386-linux-gnu/libXi.so.6 (0xf75f2000) libXmu.so.6 => not found libGL.so.1 => /usr/lib32/nvidia-304/libGL.so.1 (0xf7515000) libGLU.so.1 => /usr/lib/i386-linux-gnu/libGLU.so.1 (0xf74a2000) libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7486000) libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf746c000) libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7426000) libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7275000) libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf7253000) libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf724e000) libSM.so.6 => /usr/lib/i386-linux-gnu/libSM.so.6 (0xf7245000) libICE.so.6 => /usr/lib/i386-linux-gnu/libICE.so.6 (0xf722b000) libnvidia-tls.so.