You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Chengxin Ma (Jira)" <ji...@apache.org> on 2019/12/18 14:21:00 UTC

[jira] [Commented] (ARROW-7434) [GLib] Homebrew packages seem not working

    [ https://issues.apache.org/jira/browse/ARROW-7434?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16999207#comment-16999207 ] 

Chengxin Ma commented on ARROW-7434:
------------------------------------

Solution from the dev mailing list: {{gcc -o hello_world hello_world.c $(pkg-config --libs --cflags arrow-glib)}}

> [GLib] Homebrew packages seem not working
> -----------------------------------------
>
>                 Key: ARROW-7434
>                 URL: https://issues.apache.org/jira/browse/ARROW-7434
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: GLib
>    Affects Versions: 0.15.1
>         Environment: macOS 10.15.2
>            Reporter: Chengxin Ma
>            Priority: Major
>
> After installing {{apache-arrow}} and {{apache-arrow-glib}} via {{Homebrew}} according to the [Installation Guide|https://arrow.apache.org/install/], I wrote a very simple program to test if they were successfully installed.
> {code}
> $ cat hello_world.c
> #include <stdio.h>
> #include <arrow-glib/arrow-glib.h>
> int main(int argc, char **argv) {
>     printf("Hello, World! \n");
> }
> {code}
> {{gcc}} gave the following error:
> {code}
> $ gcc -o hello_world hello_world.c
> In file included from hello_world.c:3:
> In file included from /usr/local/include/arrow-glib/arrow-glib.h:22:
> /usr/local/include/arrow-glib/gobject-type.h:22:10: fatal error: 'glib-object.h' file not found
> #include <glib-object.h>
>          ^~~~~~~~~~~~~~~
> 1 error generated.
> {code}
> Is there any step that I didn’t follow here?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)