ld.so.1: .... libstlport_sunpro.so.4.5: open failed: ...

V

Viv

Hi!

I have a C++ program that uses STL built on Solaris 5.8. The binary is
built successfully. However, when I run it on a testcase, it gives the
following error:

#6 [astitva]% spiceIn.exe
ld.so.1:<binary Name>: fatal: libstlport_sunpro.so.4.5: open failed: No
such file or directory
Killed

I am using Forte 8.2 for compilation.

Please help.

Thanks.
Viv
(e-mail address removed)
 
V

Viv

Solved. The solution is:
-L<pathOfSTLLib> -Bstatic -lstlport -Bdynamic

in place of

-L<pathOfSTLLib> -lstlport

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top