"Malcolm McLean" <re*******@btinternet.comwrites:
"onkar" <on*******@gmail.comwrote in message
>how do I get rid of exporting LD_LIBRARY_PATH (to get rid of " error
while loading shared libraries") while compiling it self in the
Makefile.
how to incorporate some kind of export statement in Makeifle ??
Compile with cc (or whatever your compiler is) *.c to compile all the
source files. It will almost certainly complain that some bits and
pieces - headers or libraries - are missing. So add them to the
command line until it works.
If you must have a makefile, try to work out how to put those same
options into it.
That's bad advice. For good advice, post to comp.unix.programmer.
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"