473,398 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

error while loading shared libraries

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

Oct 27 '07 #1
3 2619
onkar wrote:
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>

Oct 27 '07 #2
"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.

--
Free games and programming goodies.
http://www.personal.leeds.ac.uk/~bgy1mm

Oct 27 '07 #3
"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"
Oct 27 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Francisco Miguel Montenegro Montes | last post by:
Hi, perhaps some of you can help me... I'm installing Python 2.3 (in Linux RedHat 8.0) and I need to build it like a shared library, because I want to interact Python with PostgreSQL. Following...
2
by: Douglass Turner | last post by:
Hi, Please release me from my own private hell. Platform: SuSE 8.1 I'm installing python 2.3 tarball as follows: ../configure --enable-shared make
2
by: Jane | last post by:
Hi, We compile a test program for a home make lib suite on Sun, Linux, SGI platform, all the others are fine. We got the following error message on Sun only: The following argument files were...
1
by: Phil Campaigne | last post by:
Hi All, Took a break from developing on pgsql 7.3 to set up network printing where I added another host(localhost 193.168.1.2) in red hat network settings. Later, I could start postmaster but...
1
by: Patrick Hatcher | last post by:
Doing an upgrade on RH 8 box from 7.3.4 to 7.4 from source. The installation appeared go smoothly. I tried to reinstall my database using psql -d someda -f data.file and I get the error message:...
1
by: ThreeBadWheels | last post by:
Following is the output from the error: Program name = db2idbm Instance home dir = /home/large, Sysadm group = db2iadm Instance type = 1, Auth type = server db2: error while loading shared...
1
by: dfj225 | last post by:
While my question doesn't pertain specifically to python programming, it is a result of developing a python module, so I'm hoping someone here might have experience with this issue. So, first a...
1
by: DBuss | last post by:
I'm using C++ in a Linix environment to read from TCP and UDP sockets. I now need to start using multi-threading and we're using pthreads (i.e. pthread.h). When I started including the pthread...
5
by: Danny | last post by:
Hi, we have just uploaded our first APS.NET webpage some days ago. Now we had to notice that it takes soo long until the page is shown. About 15 seconds. First we thought, maybe it's...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.