Re: error: only absolute run-paths are allowed

2018-04-02 Thread Bert Wesarg
On Mon, Apr 2, 2018, 19:10 Jordy Dickinson wrote: > That is odd, but the file locally contains the value, which is > "securelibdir" > than were is 'securelibdir' set? > On Mon, 2018-04-02 at 17:07 +, Bert Wesarg wrote: > > > > On Mon, Apr 2, 2018, 18:42 Jordy Dickinson > wrote: > > I'm t

Re: error: only absolute run-paths are allowed

2018-04-02 Thread Jordy Dickinson
So this was actually the problem. I didn't have a line defining securelibdir as SECUREDIR (defined in configure.ac), and now everything works as expected. Thanks everyone. On Mon, 2018-04-02 at 13:10 -0400, Jordy Dickinson wrote: > That is odd, but the file locally contains the value, which is > "

Re: error: only absolute run-paths are allowed

2018-04-02 Thread Jordy Dickinson
That is odd, but the file locally contains the value, which is "securelibdir" On Mon, 2018-04-02 at 17:07 +, Bert Wesarg wrote: > On Mon, Apr 2, 2018, 18:42 Jordy Dickinson m> wrote: > > I'm trying to convert a PAM module's build system to an autotools > > > > project, and I'm having issues w

Re: error: only absolute run-paths are allowed

2018-04-02 Thread Bert Wesarg
On Mon, Apr 2, 2018, 18:42 Jordy Dickinson wrote: > I'm trying to convert a PAM module's build system to an autotools > project, and I'm having issues with libtool. The output of `make` is as > follows: > > ``` > [...] > /bin/sh ../../libtool --tag=CC --mode=link gcc -g -O2 -module -no- > und

Re: error: only absolute run-paths are allowed

2018-04-02 Thread Jordy Dickinson
I'm running Arch Linux. $ uname -smorv Linux 4.15.14-1-ARCH #1 SMP PREEMPT Wed Mar 28 17:34:29 UTC 2018 x86_64 GNU/Linux $ libtool --version libtool (GNU libtool) 2.4.6.40-6ca5-dirty Written by Gordon Matzigkeit, 1996 Copyright (C) 2014 Free Software Foundation, Inc. $ gcc --versiongcc (GCC) 7

Re: error: only absolute run-paths are allowed

2018-04-02 Thread Robert Boehne
The problem appears to be the "-rpath" flag without an argument. Please post your version of Libtool and your platform's configuration (gcc, ld, OS etc.). On Mon, Apr 2, 2018 at 11:36 AM, Jordy Dickinson wrote: > I'm trying to convert a PAM module's build system to an autotools > project, and I