[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem during libtool installation
From: |
Ralf Wildenhues |
Subject: |
Re: Problem during libtool installation |
Date: |
Sun, 7 Jun 2009 09:03:40 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Hello Camilo,
* Camilo La Rota wrote on Tue, Jun 02, 2009 at 06:38:11PM CEST:
> Thank you very much. I will try it if I needed.
> However, I found the solution for my compilation problem in another news
> group:
>
> I post it here for other people that find the same problem:
>
> In the file config.h, the following line appears:
> >>/* Define to the system default library search path. */
> >> #define LT_DLSEARCH_PATH
> >>"/lib:/usr/lib:/usr/kerberos/lib:/usr/X11R6/lib:/usr/lib/qt-3.1/lib:"/usr/local/ssl/lib""
> >>
Thank you for the bug report! Applying this patch to hack around it,
and adding you to THANKS.
Cheers,
Ralf
Don't pick up double-quotes from /etc/ld.so.conf on Ubuntu.
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [ linux ]
<sys_lib_dlsearch_path_spec>: Remove embedded double quotes from
paths picked up from /etc/ld.so.conf. Fixes libltdl compile
failure on Ubuntu 7.10.
* THANKS: Update.
Report by Camilo La Rota.
diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4
index a67fb59..7fc7892 100644
--- a/libltdl/m4/libtool.m4
+++ b/libltdl/m4/libtool.m4
@@ -2427,7 +2427,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
# Append ld.so.conf contents to the search path
if test -f /etc/ld.so.conf; then
- lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s
2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' <
/etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/
/g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
+ lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s
2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' <
/etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/
/g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
fi