CNR DEX (C++ Compiler) dynamic library problem.

Unanswered Question
Jan 21st, 2008
User Badges:

Hi, I need some help with CNR DHCP DEX extensions C++.

I have a dynamic library developed in C++. If this library is compiled with CC (Sun Studio 10: C++ 5.7 Compiler), the DHCP can't load it, and it doesn't give more information about the problem. It just says 'unable to load...'.

But, if I compile the same library with g++, the DHCP loads it successfully.

Any idea?

Thanks to all.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
aghaznavi Fri, 01/25/2008 - 10:02
User Badges:
  • Silver, 250 points or more

Better you rebooting the machine and starting CNR afresh

lucasvaldez Mon, 01/28/2008 - 04:58
User Badges:

Thks aghaznavi. The problem is that the run time C++ compiler isn't installed. I coded a C program with dlopen, dlsym, etc. that calls a C++ program. Then I added this C program to CNR extensions and get the dlopen error.

Sorry for my english :)


This Discussion