When I run BX6.x on Solaris, I get the following error message and BX exits. What do I need to do?

ld.so.1: /opt/bxpro-6.1/bin/bxb: fatal: relocation error:
file /opt/bxpro-6.1/bin/bxb: symbol __1cDstdJbad_allocG__vtbl_:
referenced symbol not found

This error message is probably due to you having an older version of a C++ shared library installed. To confirm this, execute the following commands:

% what /urs/lib/libC.so.5 | grep RELEASE
% what /usr/lib/libCrun.so.1 | grep RELEASE

If the output of either of these commands is: Workshop Compiler 5.0 C++ 5.0, then you need to download the Sun patch 106327-16. This patch is for SunOS 5.7 and contains 32-Bit Shared library patch for C++ and includes libC.so.5 and libCrun.so.1.

You should create soft links to these libraries. ie,
libCrun.so -> libCrun.so.1
libC.so-> libC.so.5

Make sure that your environment variable LD_LIBRARY_PATH includes the directory with these soft links.

Category: