×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

Help wanted: a program runs always fail in Solaris, but runs okay in HP UNIX.

the error msg is:
ld.so.1: ./action.exe: fatal: libstdc++.so.6: open failed: No such file or directory
Killed
-- <action.exe is the program>

I have no enough time to read the source code(c++).
in HP UNIX there is not a libstdc++.so.6, but I found one in Solaris(though it seems not be the right position, it is in /usr/local/lib/sparcv9/)
I tried changing the environment and attributes of the program, but fail still.
Does any library(static or dynamic library) depends on libstdc++.so.6?
Anybody can do any help?
Report

Replies, comments and Discussions:

  • 工作学习 / 专业技术讨论 / Help wanted: a program runs always fail in Solaris, but runs okay in HP UNIX.
    the error msg is:
    ld.so.1: ./action.exe: fatal: libstdc++.so.6: open failed: No such file or directory
    Killed
    -- <action.exe is the program>

    I have no enough time to read the source code(c++).
    in HP UNIX there is not a libstdc++.so.6, but I found one in Solaris(though it seems not be the right position, it is in /usr/local/lib/sparcv9/)
    I tried changing the environment and attributes of the program, but fail still.
    Does any library(static or dynamic library) depends on libstdc++.so.6?
    Anybody can do any help?
    • try this:
      LD_LIBRARY_PATH=/usr/local/lib/sparcv9/
      export LD_LIBRARY_PATH
      • I got it! /usr/lib lack the dynamic lib and the lib version doesnt match! Thanks a lot!