<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
This is in. I only tested on AMD64_LINUX.<BR>
<BR>
- Jay<BR><BR> <BR>> From: jay.krell@cornell.edu<BR>> To: vapier@gentoo.org; m3devel@elegosoft.com<BR>> Subject: RE: [M3devel] how to find dependent .so files?<BR>> Date: Sun, 10 May 2009 21:32:25 +0000<BR>> <BR>> <BR>> Any dissent on changing the symlinks to hardlinks?<BR>> I plan to try this pretty soon.<BR>> <BR>> - Jay<BR>> <BR>> <BR>> ----------------------------------------<BR>> > From: jay.krell@cornell.edu<BR>> > To: vapier@gentoo.org; m3devel@elegosoft.com<BR>> > Subject: RE: [M3devel] how to find dependent .so files?<BR>> > Date: Tue, 28 Apr 2009 13:15:06 +0000<BR>> ><BR>> ><BR>> > If you take one of my suggestions, then yes you can do that for .sos.<BR>> > But $ORIGIN/../lib is one generic perhaps inefficient runpath for .sos and executables, and hypothetically also for non-public shipped executables (with my suggestion that they go to lib, if they don't already), that's why.<BR>> ><BR>> ><BR>> > The next step is just to smush lib and bin together, as is done on NT386.<BR>> > Probably people won't like that, keep files out of $PATH.<BR>> ><BR>> ><BR>> > I don't believe $ORIGIN works asis.<BR>> > if /cm3/lib/libfoo.so symlinks to /cm3/pkg/foo/target/libfoo.so<BR>> > then $ORIGIN is /cm3/pkg/foo/target, not /cm3/lib.<BR>> > I'd like to be wrong here but I don't think I am.<BR>> ><BR>> ><BR>> > So reversing the symlinks or making them hardlinks is ok?<BR>> ><BR>> ><BR>> > - Jay<BR>> ><BR>> ><BR>> > ----------------------------------------<BR>> >> From: vapier@gentoo.org<BR>> >> To: m3devel@elegosoft.com<BR>> >> Date: Tue, 28 Apr 2009 09:00:26 -0400<BR>> >> CC: jay.krell@cornell.edu<BR>> >> Subject: Re: [M3devel] how to find dependent .so files?<BR>> >><BR>> >> On Tuesday 28 April 2009 04:03:13 Jay wrote:<BR>> >>> Normally we have:<BR>> >>><BR>> >>> /usr/local/cm3/bin/someexe<BR>> >>> /usr/local/cm3/lib/libfoo.so symlink to ../pkg/foo/target/libfoo.so<BR>> >>> /usr/local/cm3/lib/libbar.so symlink to ../pkg/bar/target/libbar.so<BR>> >>><BR>> >>> Linking from someexe to $ORIGIN/../lib works, ok.<BR>> >>> But from libfoo to libbar requires $ORIGIN/../../../lib.<BR>> >>> or $ORIGIN/../../bar/target.<BR>> >><BR>> >> what's wrong with just $ORIGIN ? they're in the same directory already.<BR>> >> -mike<BR></body>
</html>