summaryrefslogtreecommitdiffstats
path: root/loader2/init.c
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-01-17 00:09:39 +0000
committerJeremy Katz <katzj@redhat.com>2003-01-17 00:09:39 +0000
commit36d0b929b70abc54f01589c13ea70967b4c488c6 (patch)
tree0c93f45c8cc63e4ca03d0e38b38610a2dd5d1e1c /loader2/init.c
parenta71b1bec9385d650d20419fe05b073c7473366a9 (diff)
downloadanaconda-36d0b929b70abc54f01589c13ea70967b4c488c6.tar.gz
anaconda-36d0b929b70abc54f01589c13ea70967b4c488c6.tar.xz
anaconda-36d0b929b70abc54f01589c13ea70967b4c488c6.zip
on 64-bit arches we want the lib64 dirs in our LD_LIBRARY_PATH too
Diffstat (limited to 'loader2/init.c')
-rw-r--r--loader2/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/loader2/init.c b/loader2/init.c
index 47dfa117a..9afd9b9bd 100644
--- a/loader2/init.c
+++ b/loader2/init.c
@@ -88,7 +88,11 @@ char * env[] = {
/* we set a nicer ld library path specifically for bash -- a full
one makes anaconda unhappy */
+#if defined(__x86_64__) || defined(__s390x__) || defined(__ppc64__)
+ "LD_LIBRARY_PATH=/lib64:/usr/lib64:/usr/X11R6/lib64:/usr/kerberos/lib64:/lib:/usr/lib:/usr/X11R6/lib:/usr/kerberos/lib",
+#else
"LD_LIBRARY_PATH=/lib:/usr/lib:/usr/X11R6/lib:/usr/kerberos/lib",
+#endif
"HOME=/",
"TERM=linux",
"DEBUG=",