Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

referenced symbol not found

807575Nov 27 2002 — edited Dec 3 2002
Hi,

I'm trying to migrate a program from Solaris2.6 with the 4.2 C++ compiler to Solaris 2.8 with the 6.3 C++ compiler.

The compilation and link works fine. I then try to use a dynamic library obtained to run python test on my server and I get the following error:

ImportError: ld.so.1: python: fatal: relocation error: file /space4/users/bmicha/livr/sem/lib/libpy_oss_orp.so: symbol __1cDstd2l6Frn0ANbasic_ostream4Ccn0ALchar_traits4Cc____pkc_2_: referenced symbol not found

The symbol is defined in the libCstd.a library.

The compilation option I use are:
CC -c -library=rwtools7_std -I/opt/SUNWSPRO/WS6U2/include/CC -pto -I/space4/users/bmicha/sem/../brique/include -I/space2/integre/export/include -DSYSTEM_SunOS -DUSE_MULTITHREAD -D_REENTRANT -DCTBP_NDEBUG -DCTBO_NDEBUG -g -I/usr/local/include/python2.2 -D_REENTRANT -I/opt/iona/include

I'd be very greatfull if anyone could tell me how I can get this symbol defined in the dynamic library?

Thanks


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 31 2002
Added on Nov 27 2002
2 comments
177 views