libvxt2qnx help

testing the example of libvx2qnx

bash-2.05a# make
/usr/qnx630/host/qnx6/x86/usr/bin/qcc -Vgcc_ntox86 -c -Wc,-Wall -Wc,-Wno-parentheses -O -DNDEBUG -I. -I/home/vxtoqnx/vx2qnx/example/vx_sem_prio/x86/o -I/home/vxtoqnx/vx2qnx/example/vx_sem_prio/x86 -I/home/vxtoqnx/vx2qnx/example/vx_sem_prio -I/usr/qnx630/target/qnx6/usr/include /home/vxtoqnx/vx2qnx/example/vx_sem_prio/vx_sem_prio.c
/bin/rm -f /home/vxtoqnx/vx2qnx/example/vx_sem_prio/x86/o/vx2qnx_semprio
/usr/qnx630/host/qnx6/x86/usr/bin/qcc -Vgcc_ntox86 -Bdynamic -o/home/vxtoqnx/vx2qnx/example/vx_sem_prio/x86/o/vx2qnx_semprio vx_sem_prio.o -L.
-L/usr/qnx630/target/qnx6/x86/lib
-L/usr/qnx630/target/qnx6/x86/usr/lib -lvx2qnx

bash-2.05a# ls
. Makefile vx_sem_prio.o
… vx2qnx_semprio
bash-2.05a# ./vx2qnx_semprio
Could not find library libvx2qnx.so.1
bash-2.05a#

why? what happend, if the libvx2qnx is installed correctly.

libvx2qnx.so.1 is in /usr/qnx630/target/qnx6/x86/usr/lib

help me please,

export LD_LIBRARY_PATH=/usr/qnx630/target/qnx6/x86/usr/lib

this should make your program search the directory and find the libvx2qnx.so.1
or, you can just copy the file to the default search directory: /usr/lib

thanks noc.

so simple that it was.

I am even newbie in qnx, but with many desire to learn.

so thanks!.