软件(fluent 6)找不到共享库

软件(fluent 6)找不到共享库

在流畅(cfd 软件)设置之后,当我运行应用程序时出现错误:

/usr/local/Fluent.Inc/fluent6.3.26/bin/fluent -r6.3.26 -3ddp
/usr/local/Fluent.Inc/fluent6.3.26/cortex/lnamd64/cortex.3.7.3 -f fluent -3ddp (fluent "  -r6.3.26 -path/usr/local/Fluent.Inc")
/usr/local/Fluent.Inc/fluent6.3.26/cortex/lnamd64/cortex.3.7.3: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory

所以我验证了 libjpeg.so.62 已安装并且我使用了:

export LD_LIBRARY_PATH=/usr/local/Fluent.Inc/fluent6.3.26/lnamd64/syslib:/usr/local/Fluent.Inc/lib3.0/lnamd64:/usr/lib32:/usr/lib/i386-linux-gnu:$LD_LIBRARY_PATH

然后我收到一个新的错误:

/usr/local/Fluent.Inc/fluent6.3.26/cortex/lnamd64/cortex.3.7.3: error while loading shared libraries: libjpeg.so.62: wrong ELF class: ELFCLASS32

当我录音时:

ldd -d ../fluent6.3.26/cortex/lnamd64/cortex.3.7.3

它返回:

linux-vdso.so.1 =>  (0x00007ffc26dfc000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f391db51000)
libhoops1127.so => /usr/local/Fluent.Inc/lib3.0/lnamd64/libhoops1127.so (0x00007f391d65b000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f391d457000)
libjpeg.so.62 => not found
libXt.so.6 => /usr/lib/x86_64-linux-gnu/libXt.so.6 (0x00007f391d1ee000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f391cfdc000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f391cca2000)
libstdc++.so.5 => not found
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f391c999000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f391c783000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f391c3b9000)
/lib64/ld-linux-x86-64.so.2 (0x00007f391dd6e000)
libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f391c1b1000)
libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f391bf97000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f391bd75000)
libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f391bb70000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f391b96c000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f391b766000)

备注:

即使我这样做时它返回 libstdc++.so.5 不存在:

 ls lib3.0/lnamd64
 libhoops1127.so libopengl1126hdi.so

 /usr/local/Fluent.Inc$ ls fluent6.3.26/lnamd64/syslib
 libg2c.so.0      libgcc_s-3.2.3-20040701.so.1  libifcore.so.5  libimf.so  libstdc++.so.5      libsvml.so
 libg2c.so.0.0.0  libgcc_s.so.1                 libifport.so.5  libirc.so  libstdc++.so.5.0.3

所以主要有 2 个问题:libstdc++ 和 libjpeg.so.62

相关内容