Conlin, thanks for your reply.
I don’t have -h flag, I used the QNX build process. My common.mk
file looks like the following.
EXTRA_INCVPATH = $(PROJECT_ROOT)/…/include
EXTRA_LIBVPATH = $(TOPDIR)/rel/$(CPUDIR)/$(INSTALLDIR)
CCFLAGS += -nostdinc -shared
LDFLAGS = -lm -lsocket
The fact that the application is running fine on powerpc and strongarm, it is
very puzzling. And also, if
I build the appliation using conventional makefile format, it runs fine on all
Colin Burgess wrote:
Have you made sure that the name of the object on disk is the same
as the SONAME (that you set with -h)?
The only way you can get the not found is if there
Beth <> firstname.lastname@example.org> > wrote:
I have an application that is built for three different processors, x86,
powerpc and strongarm. Same source code, the only difference is the
compile flag -DNTO_X86, -DNTO_PPCBE, -DNTO_ARMLE.
This application ran fine on both powerpc and strongarm. However, it
failed running on X86 at instruction dlopen(). The return code from
dlopen() was “Library can not be found”. I had verified that the library
was in the LD_LIBRARY_PATH.
Any suggestion as to how do I debug this problem?