Mac OS X Lion - dyld: lazy symbol binding failed
Mac OS X Lion - dyld: lazy symbol binding failed
- Subject: Mac OS X Lion - dyld: lazy symbol binding failed
- From: Rohitash <email@hidden>
- Date: Mon, 10 Sep 2012 17:24:49 +0530
- Organization: Oracle Corp.
Hi,
Need some help regarding the cause of this
below error :
$ ./sqlplus /nolog
dyld: lazy symbol binding failed: Symbol not found:
_ocieiInitSrcOff
Referenced from:
rdbms/install/instantclient/libociei.dylib
Expected in: flat namespace
dyld: Symbol not found: _ocieiInitSrcOff
Referenced from:
rdbms/install/instantclient/libociei.dylib
Expected in: flat namespace
Trace/BPT trap: 5
$ export DYLD_PRINT_APIS=1
$ sqlplus /nolog
_dyld_get_image_slide(0x102bf5000)
dyld_register_image_state_change_handler(40, 1,
0x7fff88a97fb6)
dlopen(libclntsh.dylib.11.1, 0x00000005)
dlsym(0x7fff62832288,
lfvinit)
dladdr(0x1047f94e0, 0x7fff627d8248)
dlopen(/ade/b/4272543511/oracle/work/instantclient_11_2/libsqlplusic.dylib,0x00000005)
_dyld_get_image_slide(0x102bf5000)
dlclose(0x7fff62832288)
dlsym(0x7fc800404ae0, sqlplusicInit)
dlopen(libclntsh.dylib.11.1, 0x00000005)
dlsym(0x7fff62832288,
lfvinit)
dladdr(0x1047f94e0, 0x7fff627d7f48)
dlopen(/ade/b/4272543511/oracle/work/instantclient_11_2/libociei.dylib,0x00000005)
dlclose(0x7fff62832288)
dlsym(0x7fc800405700,
ocieiInit)
dyld: lazy symbol binding failed: Symbol not found:
_ocieiInitSrcOff
Referenced from:
/ade/b/4272543511/oracle/work/instantclient_11_2/libociei.dylib
Expected in: flat namespace
$ nm -A libociei.dylib | grep _ocieiInitSrcOff
libociei.dylib: 0000000000000770
T _ocieiInitSrcOff
It looks like dlsym() is not able to find/load the lazy
symbol , even though the symbol is clearly present in the library
defined in the only .c file that goes inside the library.
Appreciate your inputs if you have seen something similar .
Thanks
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden