|
03/30/2009 9:46 AM
post25529
|
Your so name does not match file name.
Now when you link against that library, program linker will
store dependency using soname (not filename), that is
"libh264dec_lib.so.1". At runtime, ldd will read "NEEDED"
from your executable (h264dec) and find
"libh264dec_lib.so.1"; this will be used for file lookup.
Venkatarao Patnaik Balivada wrote:
> Hi,
>
> I am using Momentix 6.4.0 tools. I have created a shared library libh264dec_lib.so, and linked to create an
application called "h264dec". I have placed the library in /tmp and updated LD_LIBRARY_PATH. I am still getting the
error given below.
> Any idea what is the issue?
>
>
> export LD_LIBRARY_PATH=.:/proc/boot:/lib:/usr/lib:/lib/dll:/opt/lib:/tmp
> # time ./h264dec BA_MW_D.264 out.yuv
> Could not load library libh264dec_lib.so.1
> 0.07s real 0.00s user 0.00s system
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post25524
>
|
|
|
|
|