Subject: net/ORBit2 (2.14.3) on Linux
To: None <pkgsrc-users@netbsd.org>
From: David Simas <dsimas@imageworks.com>
List: pkgsrc-users
Date: 10/11/2006 12:35:13
Net/ORBit2 (2.14.3) won't build on my x86_64 Linux system (CentOS 4.1).
The build stops with

	Making all in orb-core
	make[8]: Entering directory `/var/tmp/pkgsrc/net/ORBit2/work/ORBit2-2.14.3/inclu
	de/orbit/orb-core'
	(rm -f corba-defs.h corba-defs-stubs.c corba-defs-skels.c corba-defs-common.c co
	rba-defs-imodule.c corba-defs-skelimpl.c || true) > /dev/null
	../../../src/idl-compiler/orbit-idl-2 -I../../../src/idl/CORBA_PIDL -I../../../s
	rc/idl/CORBA -I../../../src/idl/interop -I../../../src/orb/orb-core --noskels --
	nodefskels --nostubs --noidata --nocommon --showcpperrors --define=Object=OObjec
	t --define=TypeCode=TTypeCode --deps ./.deps/corba-defs.idl.P ../../../src/orb/o
	rb-core/corba-defs.idl
	../../../src/idl-compiler/orbit-idl-2: symbol lookup error: ../../../src/idl-com
	piler/orbit-idl-2: undefined symbol: g_option_context_new
	

I've confirmed that "g_option_context_new" is indeed in 
'libglib-2.0.so.0.1200.3', so this looks to be a linking problem.
But fiddling with the LIBS, LDFLAGS, PKG_CONFIG_PATH, and 
LD_LIBRARY_PATH environment variables doesn't seem to fix things.
I've built this package successfully on the i386 version of this
operating system, and I've built it outside of pkgsrc on x86_64
by pointing PKG_CONFIG_PATH to LOCALBASE/lib/pkgconfig.  I suspect
a problem with 'pkg-config', but I'm not sure how pkgsrc uses that
mechanism.

Any advice appreciated,

DGS