Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Mar 2012 21:47:30 +0100
From:      Mel Flynn <rflynn@acsalaska.net>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        Ports FreeBSD <freebsd-ports@freebsd.org>
Subject:   Re: Building a port with math/superlu fails: linking a shared obj library adding archive superlu.a fails
Message-ID:  <4F5D0F62.9050001@acsalaska.net>
In-Reply-To: <4F5CFF64.3020902@zedat.fu-berlin.de>
References:  <4F5CFF64.3020902@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/11/2012 20:39, O. Hartmann wrote:

> [...]
>  IsisInterfaceMapLineScan.cc:92:11: warning: variable 'lon_lat_radius'
> set but not used [-Wunused-but-set-variable]
>   CXX    IsisAdjustCameraModel.lo
>   CXXLD  libaspIsisIO.la
> /usr/local/bin/ld: /usr/local/lib/libsuperlu.a(dgssvx.o): relocation
> R_X86_64_32 against `.rodata.str1.1' can not be used when making a
> shared object; recompile with -fPIC
> /usr/local/lib/libsuperlu.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> *** [libaspIsisIO.la] Error code 1

Are you using USE_AUTOTOOLS=libtool but not automake?
I'm seeing similar issues with zarafa if I do just that. If I let the
port use the provided libtool *or* use the entire autotools toolchain,
then all is well. Also, adding --with-pic to CONFIGURE_ARGS does not
change either outcome.
-- 
Mel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F5D0F62.9050001>