[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: libtool and 32/64-bit builds
From: |
Bob Friesenhahn |
Subject: |
Re: libtool and 32/64-bit builds |
Date: |
Thu, 25 Jul 2002 18:53:38 -0500 (CDT) |
On Thu, 25 Jul 2002, Albert Chin wrote:
> > What I make of it is that you didn't specify a -R option to find the
> > library, so ld.so looks in a system directory instead. This has
> > nothing to do with 32 vs 64 bit.
>
> If -R was not included on the command-line, I should have received a
> '(file not found)' string in the ldd output. Consider the following:
Not necessarily so. Since libz.so is a standard system library in
Solaris 9, it is found by default. A -R is not required unless you
want it to use yours rather than the system's equivalent.
Note that the -L and -R options are quite different. One is an
argument used by the linker while the other provides an argument to
ld.so. I don't know that ld.so automatically looks in subdirectories.
Perhaps not.
Bob
======================================
Bob Friesenhahn
address@hidden
http://www.simplesystems.org/users/bfriesen