Subject: Using pkconfig
To: None <pkgsrc-users@netbsd.org>
From: David Simas <dsimas@imageworks.com>
List: pkgsrc-users
Date: 10/06/2006 11:57:58
The package net/ORBit2 (2.14.3) fails to build on my Linux x86_64 system
(CentOS 4.1), reporting the error
../../../src/idl-compiler/orbit-idl-2: symbol lookup error: ../../../src/idl-compiler/orbit-idl-2: undefined symbol: g_option_context_new
(I'm guessing the symbol "g_option_context_new" comes from glib.). The
package does build on the i386 version of the OS. I can also successfully
build ORBit2 on the x86_64 host outside of pkgsrc by explicitly setting
the PKG_CONFIG_PATH environment variable to
<LOCALBASE>/lib64/pkgconfig:<LOCALBASE>/lib/pkgconfig
So I think there's something amiss in net/ORBit2's use of pkgconfig.
Setting PKG_CONFIG_PATH as above before a "bmake" doesn't fix the error.
Is there any information available on using pkconfig in pkgsrc?
DGS