bug-libtool
[Top][All Lists]
Advanced

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

Re: libtools bugs on Tru64


From: Martin MOKREJŠ
Subject: Re: libtools bugs on Tru64
Date: Tue, 14 Jan 2003 11:04:47 +0100 (CET)

On Tue, 14 Jan 2003, Christian Cornelssen wrote:

Hi,
  there is already "-rpath /software/@sys/usr/lib" present on the link
line. I had to delete "-R/software/@sys/usr/lib". ld(1) doesn't know
syntax "-R /software/@sys/usr/lib".


  The manpage for ld on my system says:

  -rpath path
      Create an rpath record containing the specified path string. The path
      string is a colon-separated list of directories that is meaningful only
      when linking with -shared or -call_shared. If an item in the path sup-
      plied to -rpath is of the form $VARNAME or ${VARNAME}, the linker
      copies it to the output file's rpath record without expanding it. The
      environment variable references are preserved so that the loader can
      expand them at run time.  If you use multiple -rpath options, only the
      last one specified is accepted.

      Additional rpath directories found in shared objects on the link com-
      mand line are appended to path.  Duplicate entries are excluded. The
      loader uses the rpath record to search for shared libraries at run
      time. This option is used with -shared.

and the manpage says nothing about -R option.

So, can someone fix in cvs libtool, so that when

$ ld -V
/usr/bin/ld version 5.1
Error: No object file linked
$

is used on Digital UNix 4.0A-F, Tru64Unix 5.0, 5.1, 5.1A, that no
-R$libdir option if forced?

ltmain.sh (GNU libtool) 1.4e (1.1177 2003/01/12 07:04:27)



> Hi,
>
> On Mon, 13 Jan 2003, [iso-8859-2] Martin MOKREJ? wrote:
>
> > Hi,
> >   I've reported this some time ago to some libtool-bugs list or similar (I
> > could dig out that email), but I got no responses so far. So I've decided
> > after rechecking todays cvs to bug you directly. :( Sorry.
>
> It's address@hidden, not libtool-bugs which I have cc-ed to. :-(
> Maybe you want to repost there.  But I'd suggest first to find out
> what your "man ld" says about -rpath equivalents.  Perhaps the "-R"
> just needs a space before its argument.  Then I'd grep `libtool.m4'
> or `ltmain.in' for the "-R" (or "-R$libdir" or whatever) and replace
> it by "-R " (or "-R $libdir", respectively).  I hope you get the idea.
>
> Regards,
>
> Christian Cornelssen
>

-- 
Martin Mokrejs <address@hidden>, <address@hidden>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585




reply via email to

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