Re: Problem with Pro*C/C++ linking using oracle 9.2.0 libraries

From: Manolo <member30240_at_dbforums.com>
Date: Mon, 26 May 2003 09:22:22 +0000
Message-ID: <2922469.1053940942_at_dbforums.com>


Hi,

Have you soled this problem? I'm getting the same error. Could you please share your solution.

Thanks...

Originally posted by Brian Kunst
> When compiling an application using ProC*/C++, in linux, using the
> demo_proc.mk included with oracle, I am getting the following errors
> during the linking phase of the compilation:
>
> g++ -w -c -I. -I/home/oracle/product/9.0.1/precomp/public
> -I/home/oracle/product/9.0.1/rdbms/public
> -I/home/oracle/product/9.0.1/rdbms/demo
> -I/home/oracle/product/9.0.1/plsql/public
> -I/home/oracle/product/9.0.1/network/public manreg.c
> g++ -o manreg manreg.o -L /home/oracle/product/9.0.1/lib/ -lclntsh
> `cat /home/oracle/product/9.0.1/lib/ldflags` `cat
> /home/oracle/product/9.0.1/lib/sysliblist` -ldl -lm
> /usr/bin/ld: warning: libwtc9.so, needed by
> /home/oracle/product/9.0.1/lib//libclntsh.so, not found (try using
> -rpath or -rpath-link)
> /lib/libc.so.6: undefined reference to
> `_dl_lookup_versioned_symbol_skip_at_GLIBC_PRIVATE'
> /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libpthread.so:
> undefined reference to `_rtld_global'
> /lib/libc.so.6: undefined reference to `_rtld_global_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to
> `_dl_lookup_versioned_symbol_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to
> `_dl_start_profile_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to
> `_dl_check_map_versions_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to
> `__libc_enable_secure_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to `_dl_get_origin_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to
> `_dl_dst_substitute_at_GLIBC_PRIVATE'
> /home/oracle/product/9.0.1/lib//libclntsh.so: undefined reference to
> `wtcstu'
> /lib/libc.so.6: undefined reference to `_dl_debug_state_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to `_dl_init_at_GLIBC_PRIVATE'
> /home/oracle/product/9.0.1/lib//libclntsh.so: undefined reference to
> `wtclkm'
> /home/oracle/product/9.0.1/lib//libclntsh.so: undefined reference to
> `wtcsrin'
> /lib/libc.so.6: undefined reference to `_dl_dst_count_at_GLIBC_PRIVATE'
> /home/oracle/product/9.0.1/lib//libclntsh.so: undefined reference to
> `wtcMerr'
> /lib/libc.so.6: undefined reference to
> `_dl_out_of_memory_at_GLIBC_PRIVATE'
> /home/oracle/product/9.0.1/lib//libclntsh.so: undefined reference to
> `wtcsrin0'
> /lib/libc.so.6: undefined reference to
> `_dl_signal_error_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to
> `_dl_debug_printf_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to
> `_dl_map_object_deps_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to
> `_dl_unload_cache_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to
> `_dl_relocate_object_at_GLIBC_PRIVATE'
> /home/oracle/product/9.0.1/lib//libclntsh.so: undefined reference to
> `wtcsrfre'
> /lib/libc.so.6: undefined reference to `_dl_argv_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to `_dl_catch_error_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to
> `_dl_lookup_symbol_skip_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to
> `_dl_lookup_symbol_at_GLIBC_PRIVATE'
> /lib/libc.so.6: undefined reference to `_dl_map_object_at_GLIBC_PRIVATE'
> /home/oracle/product/9.0.1/lib//libclntsh.so: undefined reference to
> `wtcLerr'
> collect2: ld returned 1 exit status
> make[1]: *** [cppbuild] Error 1
> make[1]: Leaving directory `/devel/areg2/reg'
> make: *** [manreg] Error 2
>
> I have been working on this for a couple of days now, and everything I
> have tried has ended in a brick wall. Does anyone have any
> suggestions as to what the problem could be?
>
> Thanks in advance,
>

Brian Kunst

--
Posted via http://dbforums.com
Received on Mon May 26 2003 - 11:22:22 CEST

Original text of this message