On Thu, Feb 10, 2011 at 9:59 PM, Zaryab M. Munir <[email protected]>wrote:

> [zm]: No there is no other function read() and I did compile glibc.  I want
> to check if it is static or dynamic.  Is static linking a requirement ?
>  Thanks.
>

If you're linking to libXXX.so then it's dynamically linked. sqlite3 can be
statically linked just fine (i know of projects which do that).

To see which libs your app is linked to use 'ldd':

[stephan@cheyenne:~/cvs/fossil/cpdo]$ ldd ./certify
linux-vdso.so.1 =>  (0x00007fff6850a000)
libcpdo.so => ./libcpdo.so (0x00007fbeb3c62000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fbeb393f000)
libm.so.6 => /lib/libm.so.6 (0x00007fbeb36bb000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fbeb34a5000)
libc.so.6 => /lib/libc.so.6 (0x00007fbeb3122000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007fbeb2f04000)
libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007fbeb2c6f000)
libmysqlclient.so.16 => /usr/lib/libmysqlclient.so.16 (0x00007fbeb2861000)
/lib64/ld-linux-x86-64.so.2 (0x00007fbeb3e80000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fbeb265c000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007fbeb2423000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00007fbeb2209000)
libz.so.1 => /lib/libz.so.1 (0x00007fbeb1ff0000)

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to