compilation - Linux vs Solaris - Compiling software -
background:
at work i'm used working on solaris 10. have sysadmins know they're doing , can out if required.
i've compiled things apache, perl , mod_perl source without problems.
i've been given redhat server play , hitting problems. sysadmins out sick @ moment.
i keep hitting problems regarding ld_library_path when building software. @ moment test purposes compiling home directory, don't have root, or permissions install anywhere else.
i plan on having area under /opt install into, on solaris, i'll need out sysadmin around create us.
my .bashrc had nothing ld_library_path i've been appending things stuff built (e.g. ffmpeg source). i've been reading , apparently isn't way go, it's not reliable or something. don't have access ldconfig (permission denied).
now quetions:
what best way build applications under linux won't break? creating entries under /etc/ld.so.conf.d/ ?
can give brief overview of ld_library_path does?
from ld.so(8)
man page:
ld_library_path colon-separated list of directories in search elf libraries @ execution-time. similar path environment variable.
but honestly, find admin. become 1 if need be. oh, , build packages.
Comments
Post a Comment