bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Incorrect library path when installed in non-default locat


From: Elias Mårtenson
Subject: Re: [Bug-apl] Incorrect library path when installed in non-default location
Date: Tue, 8 Jul 2014 18:54:35 +0800

You are right. The system preferences file has not been properly updated with the correct --prefix setting from the configure script:

This is from the file /home/emartenson/src/apl/dist/etc/gnu-apl.d/preferences:

  LIBREF-3 /usr/local/lib/apl/wslib3
  LIBREF-4 /usr/local/lib/apl/wslib4
  LIBREF-5 /usr/local/lib/apl/wslib5

Regards,
Elias


On 6 July 2014 23:49, Juergen Sauermann <address@hidden> wrote:
Hi Elias,

I would still need the apl -l 37 output to see what is happening.

BTW the second column in )LIBS shows where the path comes from.
If it shows PSYS (like you said below) then it comes from the system's
preference file. The question is then: which one? This is what apl -l 37
will tell us.

/// Jürgen



On 07/06/2014 05:21 PM, Elias Mårtenson wrote:

Actually I don't have any APL binary installed anywhere else.

Regards,
Elias

On 6 Jul 2014 23:16, "Juergen Sauermann" <address@hidden> wrote:
Hi Elias,

)LIBS is currently computed from the location of the running apl binary.
This is sometimes convenient and sometimes not.

A secure way of handling this is to have the paths in the user's preferences file.

I believe that some of the libs (wslib3, 4, and 5) are installed in the location
where you expect them and that the system's preferences file reflect those
locations.

Your output below was most likely created by a stale apl binary in /usr/local/bin.

/// Jürgen


On 07/06/2014 03:59 PM, Elias Mårtenson wrote:
When I build and install GNU APL, I specify --prefix=/home/elias/src/apl/dist. I then expect the PSYS to be /home/elias/src/apl/dist/lib/apl/wslib[0-9].

Now, typing )LIBS at the prompt gives me: /usr/local/lib/apl/wslib[0-9]. This is not correct, is it?

Regards,
Elias




reply via email to

[Prev in Thread] Current Thread [Next in Thread]