error while loading shared libraries

O

onkar

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 ??

Onkar
 
S

santosh

onkar said:
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 ??

Please post to <news:comp.unix.programmer>
 
M

Malcolm McLean

onkar said:
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.
 
K

Keith Thompson

Malcolm McLean said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top