[csw-maintainers] libcairo in testing RPATH is broken
John Ellson
ellson at opencsw.org
Tue Aug 4 17:10:38 CEST 2009
Dago,
Sorry for the slow response.
These were the only changes I made. I don't know anything about any
"$ORIGIN"
(The s/disable-tests/disable-full-testing/ change is premature, but its
no worse than before.
--disable-full-testing is used in libcairo's git latest, so it should
work soon.)
Apparently I didn't have the latest gar. Rebuilding now with r5844 but
I don't think that was the problem. The built libcairo.so is still not
finding /opt/csw/X11/lib/libxcb-render.so without adding that directory
to LD_LIBRARY_PATH.
I don't think this is a problem that I created.
$ svn diff -r5356 Makefile
Index: Makefile
===================================================================
--- Makefile (revision 5356)
+++ Makefile (working copy)
@@ -54,9 +54,8 @@
EXTRA_PKG_CONFIG_DIRS = $(prefix)/X11/lib
CONFIGURE_ARGS = $(DIRPATHS)
-CONFIGURE_ARGS += --disable-tests --enable-xlib=yes
--enable-xlib-xrender=yes --enable-ft=yes --with-x
-# SVG must be disabled as libsvg depends on libcairo and we would get a
cyclic dependency
-CONFIGURE_ARGS += --enable-png=yes --enable-ps=yes --enable-pdf=yes
--enable-svg=no --enable-xcb=yes
+CONFIGURE_ARGS += --disable-full-testing --enable-xlib=yes
--enable-xlib-xrender=yes --enable-ft=yes --with-x
+CONFIGURE_ARGS += --enable-png=yes --enable-ps=yes --enable-pdf=yes
--enable-svg=yes --enable-xcb=yes
CONFIGURE_ARGS += --enable-gtk-doc --enable-test-surfaces=yes
include gar/category.mk
John
On 07/30/2009 04:05 PM, Dagobert Michelsen wrote:
> Hi John,
>
> Am 30.07.2009 um 20:40 schrieb Mike Watters:
>> here is the excerpt from dump -Lv
>> this in turn breaks everything that depends on libcairo as it can not
>> find
>>
>> $ ldd /opt/csw/bin/pidgin # for example
>> ...
>> libxcb-render-util.so.0 => (file not found)
>> libxcb-render.so.0 => (file not found)
>> ...
>>
>> $ dump -Lv /opt/csw/lib/sparcv8/libcairo.so.2
>>
>> /opt/csw/lib/sparcv8/libcairo.so.2:
>>
>> **** DYNAMIC SECTION INFORMATION ****
>> ...
>> [15] SONAME libcairo.so.2
>> [16] RUNPATH /opt/csw/lib/SALIST:RIGIN/../lib:/opt/csw/lib
>> [17] RPATH /opt/csw/lib/SALIST:RIGIN/../lib:/opt/csw/lib
>
> This is very strange.
> John: How have you build that package? With GAR? If yes, what revision
> of GAR
> itself were you using? I can't remember putting $ORIGIN in anywhere.
>
>
> Best regards
>
> -- Dago
>
More information about the maintainers
mailing list