tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build error devel/glib2 on Ubuntu-10.04



On 08.05.2012 13:26, Jens Rehsack wrote:
> Hi,
> 
> building the current version of pkgsrc/devel/glib2 in a prepared sandbox
> failed, too.
> 
> make[7]: Leaving directory `/tmp/pkgsrc/devel/glib2/work/glib-2.32.2'
> ../../gio/glib-compile-resources --target=test.gresource --sourcedir=.
> test.gresource.xml
> /tmp/pkgsrc/devel/glib2/work/glib-2.32.2/gio/.libs/lt-glib-compile-resources:
> symbol lookup error:
> /tmp/pkgsrc/devel/glib2/work/glib-2.32.2/gio/.libs/lt-glib-compile-resources:
> undefined symbol: g_memory_output_stream_steal_data
> make[6]: *** [test.gresource] Error 127
> make[6]: Leaving directory
> `/tmp/pkgsrc/devel/glib2/work/glib-2.32.2/gio/tests'
> 
> I can't delete the glib2-2.0 package from the base system, because udev
> requires glib2-2.0 and ubuntu-minimal requires udev.
> 
> Any hints how to fix the build using the libraries from
> /tmp/pkgsrc/devel/glib2/work/glib-2.32.2/{glib,gmodule,gobject,gio/.libs/ ?

Solved thanks to the BUILDLINK_TRANSFORM commit from Joerg Sonnenberger
and adding

BUILDLINK_TRANSFORM+=   rm:-Wl,-R/usr/lib
BUILDLINK_TRANSFORM+=   rm:-Wl,-R/usr/lib32
BUILDLINK_TRANSFORM+=   rm:-Wl,-R/usr/lib64

to mk.conf.

Just for the records ;)

Thanks Joerg!

Best regards,
Jens


Home | Main Index | Thread Index | Old Index