pkgsrc-Users archive

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

problem building glib2 (with older version installed)


I am using pkgsrc on Ubuntu Linux 6.06. I generally use "bmake replace"
or pkg_rolling-replace for updating the packages.

With glib2 I had trouble compiling glib2-2.24.1 while glib2-2.22.5nb1
is already installed on the system:

root@pkgsrc606:/opt/pkgsrc/usr/pkgsrc/devel/glib2# bmake
/opt/pkgsrc/work/pkgsrc/devel/glib2/default/glib-2.24.1/gobject/.libs/lt-glib-genmarshal: symbol lookup error: /opt/pkgsrc/work/pkgsrc/devel/glib2/default/glib-2.24.1/gobject/.libs/lt-glib-genmarshal: undefined symbol: g_malloc0_n

The build process is not using its own libraries in the build dir, but
those of the old version:

root@pkgsrc606:~# ldd /opt/pkgsrc/work/pkgsrc/devel/glib2/default/glib-2.24.1/gobject/.libs/lt-glib-genmarshal | grep /libg => /opt/pkgsrc/lib/ (0xb768f000) => /opt/pkgsrc/lib/ (0xb7689000)

only after removing those, the build succeeds:

root@pkgsrc606:~# mv /opt/pkgsrc/lib/ /opt/pkgsrc/lib/ root@pkgsrc606:~# mv /opt/pkgsrc/lib/ /opt/pkgsrc/lib/ root@pkgsrc606:~# ldd /opt/pkgsrc/work/pkgsrc/devel/glib2/default/glib-2.24.1/gobject/.libs/lt-glib-genmarshal | grep /libg => /opt/pkgsrc/work/pkgsrc/devel/glib2/default/glib-2.24.1/glib/.libs/ (0xb7670000) => /opt/pkgsrc/work/pkgsrc/devel/glib2/default/glib-2.24.1/gthread/.libs/ (0xb766a000)

Shouldn't libtool be able to cope with this?
(using libtool-base-2.2.6bnb4)

Best regards

Home | Main Index | Thread Index | Old Index