Re: [sr #109844] Do not override user's LD_LIBRARY_PATH in generated ltmain.sh for the build dir wrappers

2019-07-13 Thread Roumen Petrov

anonymous wrote:

URL:
   

  Summary: Do not override user's LD_LIBRARY_PATH in generated
ltmain.sh for the build dir wrappers
  Project: GNU Libtool
 Submitted by: None
 Submitted on: Sat 13 Jul 2019 09:50:51 AM UTC
 Category: None
 Priority: 5 - Normal
 Severity: 3 - Normal
   Status: None
  Privacy: Public
  Assigned to: None
 Originator Email:
  Open/Closed: Open
  Discussion Lock: Any
 Operating System: GNU/Linux

 ___

Details:

ltmain.sh now (at least in Ubuntu 18.04) overrides the LD_LIBRARY_PATH with a
It seems to me libtool does not override path. It should prepend 
projects specific paths to environment variable.

Existing code:
...
    # Add our own library path to $shlibpath_var
    $shlibpath_var=\"$temp_rpath\$$shlibpath_var\"
...


system library path, thus forcing the system libs over the user's custom path
installed ones.

I fixed this in TCE build by patching ltmain.sh in our build script generator
script:

https://github.com/cpc/tce/commit/820fe4475f65b38f4ec6c7013d1ddfe4510058c0#diff-36fd0e6bb489c013aa25e9a5fd4467a2

I'm not convinced that patch is correct.
Let project build new version of a system library and try to perform 
some tests. Executable from regression tests should use library from 
"build tree" not system one.


Regards,
Roumen Petrov


___
https://lists.gnu.org/mailman/listinfo/libtool


[sr #109844] Do not override user's LD_LIBRARY_PATH in generated ltmain.sh for the build dir wrappers

2019-07-13 Thread anonymous
URL:
  

 Summary: Do not override user's LD_LIBRARY_PATH in generated
ltmain.sh for the build dir wrappers
 Project: GNU Libtool
Submitted by: None
Submitted on: Sat 13 Jul 2019 09:50:51 AM UTC
Category: None
Priority: 5 - Normal
Severity: 3 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
Operating System: GNU/Linux

___

Details:

ltmain.sh now (at least in Ubuntu 18.04) overrides the LD_LIBRARY_PATH with a
system library path, thus forcing the system libs over the user's custom path
installed ones. 

I fixed this in TCE build by patching ltmain.sh in our build script generator
script: 

https://github.com/cpc/tce/commit/820fe4475f65b38f4ec6c7013d1ddfe4510058c0#diff-36fd0e6bb489c013aa25e9a5fd4467a2




___

Reply to this item at:

  

___
  Message sent via Savannah
  https://savannah.gnu.org/


___
https://lists.gnu.org/mailman/listinfo/libtool