libtool
[Top][All Lists]
Advanced

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

Re: Tune rpath by env. variable


From: Pavel Raiskup
Subject: Re: Tune rpath by env. variable
Date: Tue, 20 Jan 2015 07:40:20 +0100
User-agent: KMail/4.14.3 (Linux/3.17.8-300.fc21.x86_64; KDE/4.14.3; x86_64; ; )

On Saturday 13 of December 2014 18:58:58 Pavel Raiskup wrote:
> On Friday 12 of December 2014 11:17:03 Gary V. Vaughan wrote:
> > I'll commit a follow on patch, to tweak it like this, later today.
> 
> Thanks for the patch!  It is almost perfect.  During testing I noted that
> there is still one dollar sign not substituted with quadrigraph.  Patch
> 0001 attached.
>
Sorry for not pinging you because of this issue before the 2.4.5 release,
pinging now to get it fixed at least in 'master'.  The LT_SYS_LIBRARY_PATH
variable is probably completely broken.  Current problem:

  $ LT_SYS_LIBRARY_PATH=/lib64: ./configure
  [...]
  checking dynamic linker characteristics... GNU/Linux ld.so
  ./configure: line 8532: @1": command not found
  ./configure: eval: line 8532: unexpected EOF while looking for matching `"'
  ./configure: eval: line 8533: syntax error: unexpected end of file
  checking how to hardcode library paths into programs... immediate
  checking for shl_load... no
  [...]

> Also, I noted having LT_SYS_SEARCH_PATH="/lib64:" specified in config.site
> does not change libtool's content;  it the LT_SYS_LIBRARY_PATH default
> value stays empty.  I would like to have it fixed before 2.4.5, if
> possible, because I would like to enable something like the following in
> our default /usr/share/config.site file:
> 
>   if $arch_64bit; then
>     : ${LT_SYS_LIBRARY_PATH="/lib64:/usr/lib64:"}
>   fi
> 
> Also, I'm not sure whether we should touch the lt_cv_sys_*.  That should
> not hurt too much but I would feel quite more safe if we use separate
> variable and let the lt_cv_* for existing workarounds in the wild.
> Something like the attachment 0002 would be nice to have pushed.

This would be nice to have it in git also.  The LT_SYS_SEARCH_PATH does
not survive automatic re-autoconf of configure script:

  // libtool after LT_SYS_SEARCH_PATH="/lib64:"

  # Configured defaults for sys_lib_dlsearch_path munging.
  : ${LT_SYS_LIBRARY_PATH="/lib64:"}

  // libtool after 'touch configure.ac ; make'

  # Configured defaults for sys_lib_dlsearch_path munging.
  : ${LT_SYS_LIBRARY_PATH="/lib64:"}




reply via email to

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