This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: ld cannot find -lffi
- From: Jason Gross <jasongross9 at gmail dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: libffi-discuss at sourceware dot org
- Date: Sat, 17 Aug 2013 09:40:26 -0400
- Subject: Re: ld cannot find -lffi
- References: <CAKObCao=vTWDD_chBr9vV2UB8MqMOqxLq5_03yzYfqbKzkV-1A at mail dot gmail dot com> <CAKObCapWAdB-XMSU+X5+M2P6mMNjzuU9+y_in6WQ1rG=T3qF2g at mail dot gmail dot com> <520F3D9F dot 4020907 at redhat dot com> <CAKObCaro5A2SjYfkAZHgaWBMi8EhFTm6ZrHC07=BAVLPTE-_tQ at mail dot gmail dot com> <520F4D8C dot 1020201 at redhat dot com>
Ah, indeed, that gives "../lib64". So I guess the .pc file should be
set up to use multi_os_directory or toolexeclibdir?
-Jason
On Sat, Aug 17, 2013 at 6:16 AM, Andrew Haley <aph@redhat.com> wrote:
> On 08/17/2013 10:27 AM, Jason Gross wrote:
>>>
>>> When you configured, what was your --libdir argument?
>>>
>> I did not pass --libdir. I ran `./configure
>> --prefix="$HOME/.local64/" && make -j16 && make install -j16`
>
> And what does
>
> gcc -print-multi-os-directory
>
> say?
>
> Andrew.
>