2009/3/17 Halim Issa <[email protected]>: > On Tuesday 17. March 2009 18.07.37 Dan Nicholson wrote: >> Unfortunately, since libtool transfers "needed" libraries forward into >> the .la files, you'll probably need to rebuild libX11 and all the >> libraries that depend on it. You need libX11 to drop its link to >> libxcb-xlib.so and remove the reference to libxcb-xlib.la in >> libX11.la. Then you'd need to rebuild libXext so that libXext.la no >> longer contains its reference to libxcb-xlib.la. Etc... >> >> Or remove all the references to libxcb-xlib.la in all your installed >> .la files. Or just remove all the installed .la files (this can cause >> issues in a couple cases, but using pkg-config alleviates most of >> them). > > Thanks for thorough and useful explaination. I think I'll have to go > carefully about when doing this. I believe this task is slightly bigger than > what fits in an afternoon recompile, but I'll certainly give it a go in a > weekend. Thanks again! >
or try this: fgrep -rZl /usr/lib/libxcb-xlib.la /usr/lib* /usr/kde/*/lib* | xargs -0 sed -i -e 's:/usr/lib/libxcb-xlib.la::g' this strips out the /usr/lib/libxcb-xlib.la from the various packages in /usr/lib and /usr/kde/<all versions>/lib (if you've prefixed kde to /usr/kde) directories that have incorrectly been injected with libxcb-xlib.la dep. after that you should still rebuild those packages, if you've used static linking, and this time they should be able to build just fine. you can use this command to strip out .la dependencies (remember that statically linked libs still need rebuild after the change of a library that they depend on). here's flameyees post, about preserved libs with references to the use of .la files, from which i've picked up this technique i've used more than once with gcc (which always triggers a rebuild when built with gcj support): http://blog.flameeyes.eu/2008/07/22/the-odyssey-of-preserved-libs-feature -- dott. ing. beso _______________________________________________ xorg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xorg
