On 04/23/12 21:11, rhasson wrote:
I found out that for Solaris ELF executables you can pass a
"-R/path/to/lib" argument which will record the path and library name
into the executable which will allow it to find it at runtime without
needing to update the LD_LIBRARY_PATH. Is there an equivalent argument
for Linux?
I don't know what linker comes by default with Solaris nowadays - (is
there still a solaris nowadays? :) )
the GNU linker has -R or -rpath= that should work on all supported platforms
From my end though, not necessarily the best way because your 'end
product' has a path reference that might be different later or somewhere
else. Look at 'ldconfig' for system wide defaults, LD_LIBRARY_PATH will
still work if you deliberately want an override
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en