Problems linking glib with lintintl in OpenSolaris


I've trying to compile GNOME HEAD in Nextenta OpenSolaris, which is more
or less Ubuntu Dapper with different kernel, libc and basic
tools. In order to build GNOME HEAD I'm using jhbuild, gcc and friends.

jhbuild installs a newer gettext's version that gettext provided by
Nexenta OpenSolaris; 0.16.0 versus 0.14.5, respectively.

gettext 0.14.5 provides /usr/lib/ and gettext 0.16.0
provides ~/.../install/lib/

But, when I build glib, it's linked against the; not

gpoo jenkins:~/code/gnome2$ ldd install/lib/ =>         /lib/ =>     /lib/ =>  /lib/ =>         /lib/ =>     /lib/

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:, needed
by /export/home/gpoo/code/gnome2/install/lib/, may
conflict with
configure:24327: $? = 0
configure:24333: ./conftest
./configure: line 24334: 25584 Segmentation Fault 

So, I would like to get glib linked against gettext (libintl) provided
by jhbuild and not the system.  But it seems, glib's prefers the system

I'll appreciate any hint.

Some extra information:

My jhbuild environment is:
$ env | grep PATH

I'm running configure ( 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

glib's config.log tells me, after the core test:
Target: i386-pc-solaris2.11
Configured 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/as
Thread model: posix
gcc version 4.0.3 (GNU_Solaris 4.0.3-1nexenta6)

Germ�Po�ama�oncepci� Chile

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