Problems linking glib with lintintl in OpenSolaris

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

 



Hi,
I've trying to compile GNOME HEAD in Nextenta OpenSolaris, which is moreor less Ubuntu Dapper with different kernel, libc and basictools. In order to build GNOME HEAD I'm using jhbuild, gcc and friends.
jhbuild installs a newer gettext's version that gettext provided byNexenta OpenSolaris; 0.16.0 versus 0.14.5, respectively.
gettext 0.14.5 provides /usr/lib/libintl.so.3.4.3 and gettext 0.16.0provides ~/.../install/lib/libintl.so.8.0.1
But, when I build glib, it's linked against the libintl.so.3; notlibintl.so.8:
gpoo@jenkins:~/code/gnome2$ ldd install/lib/libglib-2.0.so        libiconv.so.2 =>         /lib/libiconv.so.2        libc.so.1 =>     /lib/libc.so.1        libintl.so.3 =>  /lib/libintl.so.3        libgcc_s.so.1 =>         /lib/libgcc_s.so.1        libm.so.2 =>     /lib/libm.so.2
But my problems starts when ORBit2 needs to be linked against glib, because (looking ORBit2's config.log):
configure:24324: gcc -o conftest -g -O2    conftest.c-Wl,--export-dynamic -L/export/home/gpoo/code/gnome2/install/lib-lgobject-2.0 -lgthread-2.0 -lpthread -lthread -lgmodule-2.0 -lglib-2.0-lintl -liconv   -lsocket  >&5/usr/bin/ld: warning: libintl.so.3, neededby /export/home/gpoo/code/gnome2/install/lib/libglib-2.0.so, mayconflict with libintl.so.8configure:24327: $? = 0configure:24333: ./conftest./configure: line 24334: 25584 Segmentation Fault 

So, I would like to get glib linked against gettext (libintl) providedby jhbuild and not the system.  But it seems, glib's prefers the systemone.
I'll appreciate any hint.
Some extra information:
My jhbuild environment is:$ env | grep PATHLD_LIBRARY_PATH=/export/home/gpoo/code/gnome2/install/libPATH=/export/home/gpoo/bin:/export/home/gpoo/code/gnome2/install/bin:/export/home/gpoo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/usr/bin/X11:/usr/gamesPYTHONPATH=/export/home/gpoo/code/gnome2/install/lib/python2.4/site-packagesPKG_CONFIG_PATH=/export/home/gpoo/code/gnome2/install/lib/pkgconfig:/export/home/gpoo/code/gnome2/install/share/pkgconfig:/usr/share/pkgconfig:/usr/lib/pkgconfig
I'm running configure (autogen.sh) with the following options:$ ./configure --enable-maintainer-mode--prefix /export/home/gpoo/code/gnome2/install --disable-static--disable-gtk-doc --disable-scrollkeeper --enable-maintainer-mode--with-libiconv=gnu
glib's config.log tells me, after the core test:Target: i386-pc-solaris2.11Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,treelang --prefix=/usr --enable-shared--with-system-zlib --libexecdir=/usr/lib --without-included-gettext--enable-threads=posix --enable-nls --program-suffix=-4.0--enable-__cxa_atexit --enable-libstdcxx-debug--enable-java-awt=gtk-default --enable-gtk-cairo--with-java-home=/usr/java/jre --enable-mpfr --disable-libmudflap--disable-werror --enable-checking=release i386-pc-solaris2.11--with-gnu-ld --with-gnu-as --with-ld=/usr/bin/ld --with-as=/usr/bin/asThread model: posixgcc version 4.0.3 (GNU_Solaris 4.0.3-1nexenta6)

-- Germán Poó-CaamañoConcepción - Chile
_______________________________________________gtk-list mailing listgtk-list@xxxxxxxxxxxxx://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux