Lines Matching defs:ld_library_path
525 char *ld_library_path;
528 * Construct the invariant part of ld_library_path. Note that the
534 ld_library_path = (char *) malloc(system_ext_size);
535 sprintf(ld_library_path, "%s" SYS_EXTENSIONS_DIR ":" SYS_EXTENSIONS_DIRS, user_home_dir);
537 ld_library_path = (char *) malloc(sizeof(REG_DIR) + sizeof("/lib/") +
539 sprintf(ld_library_path, REG_DIR "/lib/%s:" DEFAULT_LIBPATH, cpu_arch);
551 char *t = ld_library_path;
553 ld_library_path = (char *) malloc(strlen(l) + 1 + strlen(t) + 1);
554 sprintf(ld_library_path, "%s:%s", l, t);
563 char *t = ld_library_path;
565 ld_library_path = (char *) malloc(strlen(v) + 1 + strlen(t) + 1);
566 sprintf(ld_library_path, "%s:%s", v, t);
580 char *t = ld_library_path;
582 ld_library_path = (char *) malloc(strlen(t) + 3);
583 sprintf(ld_library_path, "%s:%s", t, ".");
588 Arguments::set_library_path(ld_library_path);