desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #89718
[Bug 1392715] Re: build failure; does not include X11 library path in link
** Changed in: compiz
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/1392715
Title:
build failure; does not include X11 library path in link
Status in Compiz:
Fix Committed
Status in compiz package in Ubuntu:
Fix Released
Bug description:
I have just tried to build compiz-0.9.12.0. I encountered several
problems, but the first one (which is at least easily worked around)
is that the correct library paths for certain X11 libraries are not
used when linking. I tried the most straightforward build possible:
mkdir build
cd build
cmake ..
make VERBOSE=1 2>&1 | tee build.log
I have attached the resulting build.log file. As you can see there is
a link failure since the build tries to link against libraries
libXrender and libX11, but it does not include the library path (via
-L switch). On my system these libraries are in /usr/X11R7/lib, and
this is correctly identified by pkg-config:
$ pkg-config --libs x11
-L/usr/X11R7/lib -lX11
Obviously this can be worked around be setting
LIBRARY_PATH=/usr/X11R7/lib before running 'make', but this should not
be necessary.
To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz/+bug/1392715/+subscriptions