You are not logged in.

#1 2018-06-14 19:48:57

junkhook9000
Member
Registered: 2018-06-07
Posts: 8

Issue installing FLINT library: ld returned 1 exit status

I am trying to install the FLINT library from source (http://www.flintlib.org/). I am aware it is on the AUR (https://www.archlinux.org/packages/comm … _64/flint/) which I will use if this does not work, but I would prefer to install it in /usr/local for my purposes (and I've read countless times not to do this via pacman).

When configuring, everything goes fine. When executing make, I get

    ...
    CC   ../build/ulong_extras/mulmod_precomp.lo
    CC   ../build/ulong_extras/prime_pi.lo
    CC   ../build/ulong_extras/../ulong_extras.lo
/usr/bin/ld: -r and -pie may not be used together
collect2: error: ld returned 1 exit status
make[2]: *** [../Makefile.subdirs:62: ../build/ulong_extras/../ulong_extras.lo] Error 1

What is this issue with ld?

Offline

#2 2018-06-14 19:51:51

loqs
Member
Registered: 2014-03-06
Posts: 5,816

Re: Issue installing FLINT library: ld returned 1 exit status

Did you look at https://git.archlinux.org/svntogit/comm … ages/flint from the AUR link your provided?

Offline

#3 2018-06-14 21:00:17

junkhook9000
Member
Registered: 2018-06-07
Posts: 8

Re: Issue installing FLINT library: ld returned 1 exit status

loqs wrote:

Did you look at https://git.archlinux.org/svntogit/comm … ages/flint from the AUR link your provided?

I looked through the file list but didn't see that. Now I need to figure out how to apply this patch. I guess I will mark this solved, thank you.

Offline

Board footer

Powered by FluxBB