[Top][All Lists]

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

RE: System configuration during install

From: Lawrence, David (STEI)
Subject: RE: System configuration during install
Date: Fri, 6 Jul 2001 07:37:16 -0700


My understanding of libtool is that it links shared libraries with an
embedded pathname to where they are located.  The, when an executable or
other library links to the shared library linked with -rpath, the pathname
for the shared library is embedded in the output file.  At least that's the
conclusion I drew from page 114 in a sidebar entitled "Why use -rpath."

I haven't used DESTDIR inside of an RPM.  But if I then move the files into
another location, they are supposed to be relinked to get the -rpath
updated.  I haven't played with this capability yet, but it does seem to
suggest you need to keep more of your source code around than a binary RPM
would deliver.  Maybe the relink just updates the embedded pathname.
Perhaps someone on this list knows?

David G. Lawrence
Smart Technology Enablers, Inc.
1121 Rancho Drive
Ojai, CA  93023
(805) 649-6660
(805) 649-6667 fax

-----Original Message-----
From: Tom Tromey [mailto:address@hidden
Sent: Thursday, July 05, 2001 10:02 PM
To: Lawrence, David (STEI)
Cc: 'Raja R Harinath'; 'address@hidden'
Subject: Re: System configuration during install

>>>>> "David" == Lawrence, David (STEI) <address@hidden> writes:

David> I am already building using an rpm tree under by home
David> directory.  But it would appear that RPM wants me to place the
David> files into their install location before the binary RPM is
David> built.  Is this a hard requirement or is there a work-around?

I haven't made many RPMs.  I thought all this stuff worked by
installing into a clean tree, say via DESTDIR, and then packaging that
new tree.

David> If I've moved too far off the context for the automake
David> distribution list, where would you recommend I post these RPM
David> related questions?

I imagine there is an RPM list somewhere.  Or maybe someone else here
definitely knows the answer.


reply via email to

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