[Top][All Lists]

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

Libtool can't handle space in rpath

From: Kevin Atkinson
Subject: Libtool can't handle space in rpath
Date: Sun, 6 Apr 2008 23:43:11 -0600 (MDT)

Having a space in the directory name given via "-rpath" causes problems for libtool:

$ /bin/sh ./libtool --tag=CXX   --mode=link g++  -g -O2 -fno-exceptions -module 
-avoid-version  -o sgml-filter.la -rpath "/home/kevina/aspell-0.60-cvs/dir with 
space/inst/lib/aspell-0.60" modules/filter/sgml.lo libaspell.la -ldl -ldl
libtool: link: warning: ignoring multiple `-rpath's for a libtool library
libtool: link: rm -fr  .libs/sgml-filter.a
libtool: link: ar cru .libs/sgml-filter.a  modules/filter/sgml.o
libtool: link: ranlib .libs/sgml-filter.a
/bin/sed: can't read space/aspell-0.60.6/libaspell.la: No such file or directory
libtool: link: `space/aspell-0.60.6/libaspell.la' is not a valid libtool archive

$ ./libtool --version
ltmain.sh (GNU libtool) 2.2.2

This bug means that my package GNU Aspell can't install in a directory that has a space in it.

Let me know if you need any additional info.

reply via email to

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