Re: undefined symbol: ORBit_skel_class_register
- From: "Michael G. (sent by Nabble.com)" <lists nabble com>
- To: orbit-list gnome org
- Subject: Re: undefined symbol: ORBit_skel_class_register
- Date: Tue, 7 Feb 2006 11:46:53 -0800 (PST)
Hi, all,
Thanks for help from "Patrick Ohly" and "Georg Steffers".
I take Georg's suggestion to use "ldd" checking the shared library used by "echo-server". The output is:
>ldd echo-server
libORBitCosNaming-2.so.0 => /usr/lib/libORBitCosNaming-2.so.0 (0x40021000)
libORBit-2.so.0 => /usr/lib/libORBit-2.so.0 (0x40027000)
libm.so.6 => /lib/tls/libm.so.6 (0x40069000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x4008b000)
libdl.so.2 => /lib/libdl.so.2 (0x4008f000)
libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x40093000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40098000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40103000)
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
liblinc.so.1 => /usr/lib/liblinc.so.1 (0x40111000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40119000)
libpopt.so.0 => /usr/lib/libpopt.so.0 (0x4014e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
which means echo-server uses the shared library from system's ORBit.
Then I set LD_LIBRARY_PATH as following:
>export LD_LIBRARY_PATH=/home/mwgong/orbit2/lib/
>ldd echo-server
libORBitCosNaming-2.so.0 => /home/mwgong/orbit2/lib/libORBitCosNaming-2.so.0 (0x40017000)
libORBit-2.so.0 => /home/mwgong/orbit2/lib/libORBit-2.so.0 (0x4001b000)
libm.so.6 => /lib/tls/libm.so.6 (0x40076000)
libgmodule-2.0.so.0 => /home/mwgong/orbit2/lib/libgmodule-2.0.so.0 (0x40098000)
libdl.so.2 => /lib/libdl.so.2 (0x4009c000)
libgthread-2.0.so.0 => /home/mwgong/orbit2/lib/libgthread-2.0.so.0 (0x400a0000)
libglib-2.0.so.0 => /home/mwgong/orbit2/lib/libglib-2.0.so.0 (0x400a4000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40122000)
libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
libgobject-2.0.so.0 => /home/mwgong/glib2_8_5/lib/libgobject-2.0.so.0 (0x40130000)
libpopt.so.0 => /usr/lib/libpopt.so.0 (0x40161000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
Then I can run the echo-server and echo-client programs. And it works as expected.
In conclusion, I set LD_LIBRARY_PATH variable to ORBit library I just built, and the "relocation error" disappears.
Thanks a lot.
Michael
View this message in context:
Re: undefined symbol: ORBit_skel_class_register
Sent from the
Gnome - ORBit - General forum at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]