Wes McKinney created ARROW-7893:
-----------------------------------
Summary: [Developer][GLib] Document GLib development workflow when
using conda environment on GTK-based Linux systems
Key: ARROW-7893
URL: https://issues.apache.org/jira/browse/ARROW-7893
Project: Apache Arrow
Issue Type: Improvement
Components: Documentation, GLib
Reporter: Wes McKinney
Fix For: 1.0.0
I periodically deal with annoying errors like:
{code}
checking for GLIB - version >= 2.32.4...
*** 'pkg-config --modversion glib-2.0' returned 2.58.3, but GLIB (2.56.4)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error: GLib isn't available
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target 'install'. Stop.
Traceback (most recent call last):
2: from /home/wesm/code/arrow/c_glib/test/run-test.rb:30:in `<main>'
1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in
`require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot
load such file -- gi (LoadError)
{code}
The problem is that I have one version of glib on my Linux system while another
in the activated conda environment, it seems that there is a conflict even
though {{$PKG_CONFIG_PATH}} is set to ignore system directories
https://gist.github.com/wesm/e62bf4517468be78200e8dd6db0fc544
--
This message was sent by Atlassian Jira
(v8.3.4#803005)