Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Strange library loading issue: Page 1 of 4 (4 Items)
   
Strange library loading issue  
I have a library that one of my processes can't seem to find. It's intermittent and so I'm not sure when I change 
something that I solved the route problem or just lucked out during the build.  Here is the runtime issue:

# export DL_DEBUG=1
# export LD_LIBRARY_PATH=/proc/boot
# ls -la /proc/boot/liboamlib.so.1
-rwxrwxr-x  1 508       508          446464 Nov 12  2009 /proc/boot/liboamlib.so.1

Process 368664 (ls) exited status=0.
#  dbs
load_object: attempt load of liboamutilities.so.1
load_elf32: loaded lib at addr fe378000(text) fe38ac70(data)
load_object: attempt load of libcommonSlSwLogLib.so.1
load_elf32: loaded lib at addr fe38c000(text) fe39b4e0(data)
load_object: attempt load of libutilities.so.1
load_elf32: loaded lib at addr fe39d000(text) fe3b4710(data)
load_object: attempt load of liboamlib.so.1
load_elf32: mmaped, addr 0 67c80 vaddr fe41ec80
Could not find library liboamlib.so.1

Process 376856 (dbs) exited status=1.
#

As you can see the library is in /proc/boot and the LD_LIBRARY_PATH is set to the correct location.  Why is it mmaping 
some strange memory location?  pidin mem does not show liboamlib in memory anywhere.

Any ideas would be helpful at this point, I am running low myself.

would the gid/uid be an issue?

This is cross compiled on linux x86 for ppcbe

Thanks,
Liam