[Xcb] Status of XCB and howto begin
Alexander Botero
alex.botero at gmail.com
Mon Feb 6 13:54:50 PST 2006
Vincent Torri wrote:
On Mon, 6 Feb 2006, Alexander Botero wrote:
Final report.
Everything works OK now. I do not have any better explanation.
$ cd ~/code/X11/xcb-demo/tests
$ LD_LIBRARY_PATH=/usr/local/lib ./flames
or
$ export LD_LIBRARY_PATH=/usr/local/lib
$ ./flames
it's strange that you have to put that directory in LD_LIBRARY_PATH. It
should already be in /etc/ld.so.conf, I think
Yes, /etc/ld.so.conf contains a list of dynamic libraries (directory list).
I just had some weird problems with it because this Ubuntu is very new
installment. Now it's OK and LD_LIBRARY_PATH is no longer needed.
$ ls -l /etc/ld.so*
-rw-r--r-- 1 root root 53156 2006-02-06 22:40 /etc/ld.so.cache <-- Binary
dump of the actual cache
-rw-r--r-- 1 root root 42 2006-02-06 22:39 /etc/ld.so.conf
-rw-r--r-- 1 root root 49 2006-02-05 11:09 /etc/ld.so.hwcappkgs
-------------------------------------- -----------------------------
Update library cache
$ sudo ldconfig
Verify cache
$ sudo ldconfig -vv | grep XCB
ldconfig: Path `/usr/lib' given more than once
libXCB.so.0 -> libXCB.so.0.0.0
libXCBProperty.so.0 -> libXCBProperty.so.0.0.0
libXCBKeysyms.so.0 -> libXCBKeysyms.so.0.0.0
libXCBAux.so.0 -> libXCBAux.so.0.0.0
libXCBICCCM.so.0 -> libXCBICCCM.so.0.0.0
libXCBReply.so.0 -> libXCBReply.so.0.0.0
libXCBEvent.so.0 -> libXCBEvent.so.0.0.0
libXCBImage.so.0 -> libXCBImage.so.0.0.0
libXCBWM.so.0 -> libXCBWM.so.0.0.0
libXCBAtom.so.0 -> libXCBAtom.so.0.0.0
libXCB.so.0 -> libXCB.so.0.0.0
-------------------------------------- -----------------------------
$ cat /etc/ld.so.conf
/usr/X11R6/lib/
/usr/local/lib/
/usr/lib/
-------------------------------------- -----------------------------
This is also handy way to check libraries
$ updatedb
$ locate libXCB
-------------------------------------- -----------------------------
Thanks
Alexander
;-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/xcb/attachments/20060206/3da5a2c0/attachment.html
More information about the Xcb
mailing list