error: only absolute run-paths are allowed

2018-04-02 Thread Jordy Dickinson
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- undefined -avoid-version -o pam_panic.la -rpath pam_panic.lo pam_pan

Re: error: only absolute run-paths are allowed

2018-04-02 Thread Jordy Dickinson
"-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 oud.com> wrote: > > I'm trying to convert a PAM module's build system to an aut

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 > &g

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,