[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Lyx compilation
- To: "'Miriam'" <prog(at-nospam)agri.huji.ac.il>, dekel(at-nospam)math.tau.ac.il
- Subject: RE: Lyx compilation
- From: "Mevorach, Assaf" <assaf.mevorach(at-nospam)intel.com>
- Date: Mon, 6 Nov 2000 22:59:45 -0800
- Cc: Linux-Il Mailing List <linux-il(at-nospam)cs.huji.ac.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
try to add an env var named LD_LIBRARY_PATH with the directory containing
libc.so.5 as its value.
this env var directs the dynamic linker (the one that loads the so files)
where to look for these files,
the default path to look for is /lib and /usr/lib .
and it has nothing to do with the path you gave during compilation.
as you know shared objects (.so files) are loaded only in load time , and
not linked while compilation,
the reason for mentioning them during compilation is to let the compiler
know what symbols it contains and what relocations it can solve.
Assaf
-----Original Message-----
From: Miriam [mailto:prog@agri.huji.ac.il]
Sent: Saturday, November 04, 2000 7:50 PM
To: dekel@math.tau.ac.il
Cc: Linux-Il Mailing List
Subject: Lyx compilation
Maybe you can help.
I downloaded lyx-1.1.5fix2.tar.gz and tried to build the program. After
unpacking, ./configure and make I tried src/lyx. Got the error message:
error in loading shared libraries: libc.so.5: cannot open shared object
file: No such file or directory.
In my installation (Slakware 7.0 - kernel 2.2.13) libc.so.5 is in the
directory /usr/i386-slackware-linux-gnulibc1/lib. I checked the
libraries an directories in the file config.status. The line is:
s%@LIBS@% -lSM -lICE -liberty -lc -lm -L/usr/X11R6/lib -lX11 %g
Thinking that the problem was there, I tried to add the missing directory
with an editor: s%@LIBS@% -lSM -lICE -liberty -lc -lm
-L/usr/i386-slackware-linux-gnulibc1/lib -L/usr/X11R6/lib -lX11 %g
and made a make clean, make and src/lynx => same error message.
Any suggestions ? Thanks, Avraham (prog%agri.huji.ac.il)
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il