You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@arrow.apache.org by Matt Youill <ma...@airmettle.com> on 2021/02/04 07:56:46 UTC

glib build error

Hi,

I'm attempting to build arrow glib (v3) and running into a link issue 
(on Linux).

The commands I'm issuing (from the c_glib sub dir of the arrow repo) are:

./autogen.sh
./configure PKG_CONFIG_PATH=<arrow c++ install 
dir>/lib/pkgconfig:${PKG_CONFIG_PATH} --prefix=<arrow glib install dir>
make

All seems happy except for a link error:

/usr/bin/ld: warning: libarrow.so.300, needed by 
./../arrow-glib/.libs/libarrow-glib.so, not found (try using -rpath or 
-rpath-link)


The complication is perhaps that I haven't installed the arrow (c++) 
libs system wide. They're just in an ad-hoc build dir.

Thanks, Matt



Re: glib build error

Posted by Matt Youill <ma...@airmettle.com>.
A bit "brute force" but it works :)

On 4/2/21 7:04 pm, Sutou Kouhei wrote:
> Hi,
>
> Could you try "LD_LIBRARY_PATH=<arrow c++ install dir>/lib
> make" instead of "make"?
>
>
> Thanks,
> --
> kou
>
> In <11...@airmettle.com>
>    "glib build error" on Thu, 4 Feb 2021 18:56:46 +1100,
>    Matt Youill <ma...@airmettle.com> wrote:
>
>> Hi,
>>
>> I'm attempting to build arrow glib (v3) and running into a link issue
>> (on Linux).
>>
>> The commands I'm issuing (from the c_glib sub dir of the arrow repo)
>> are:
>>
>> ./autogen.sh
>> ./configure PKG_CONFIG_PATH=<arrow c++ install
>> dir>/lib/pkgconfig:${PKG_CONFIG_PATH} --prefix=<arrow glib install
>> dir>
>> make
>>
>> All seems happy except for a link error:
>>
>> /usr/bin/ld: warning: libarrow.so.300, needed by
>> ./../arrow-glib/.libs/libarrow-glib.so, not found (try using -rpath or
>> -rpath-link)
>>
>>
>> The complication is perhaps that I haven't installed the arrow (c++)
>> libs system wide. They're just in an ad-hoc build dir.
>>
>> Thanks, Matt
>>
>>

Re: glib build error

Posted by Sutou Kouhei <ko...@clear-code.com>.
Hi,

Could you try "LD_LIBRARY_PATH=<arrow c++ install dir>/lib
make" instead of "make"?


Thanks,
--
kou

In <11...@airmettle.com>
  "glib build error" on Thu, 4 Feb 2021 18:56:46 +1100,
  Matt Youill <ma...@airmettle.com> wrote:

> Hi,
> 
> I'm attempting to build arrow glib (v3) and running into a link issue
> (on Linux).
> 
> The commands I'm issuing (from the c_glib sub dir of the arrow repo)
> are:
> 
> ./autogen.sh
> ./configure PKG_CONFIG_PATH=<arrow c++ install
> dir>/lib/pkgconfig:${PKG_CONFIG_PATH} --prefix=<arrow glib install
> dir>
> make
> 
> All seems happy except for a link error:
> 
> /usr/bin/ld: warning: libarrow.so.300, needed by
> ./../arrow-glib/.libs/libarrow-glib.so, not found (try using -rpath or
> -rpath-link)
> 
> 
> The complication is perhaps that I haven't installed the arrow (c++)
> libs system wide. They're just in an ad-hoc build dir.
> 
> Thanks, Matt
> 
>