DelphiFAQ Home Search:

perl CGI script cannot load a library

 

commentsThis article has not been rated yet. After reading, feel free to leave comments and rate it.

Question:

I run a perl script in mod_perl on Apache 2 and it does not work properly, apparantly it cannot find a C++ library named libstdc++.so.
I found this library located in /usr/local/lib

Answer:

Apache does not pass the environment variable that holds the library path to the processes running on mod_perl.

Add the following line to your httpd.conf file:

SetEnv LD_LIBRARY_PATH /usr/local/lib

and the calls to your library will work.


Comments:

2008-07-08, 10:20:09
anonymous from France  
je discute avec une certaine karina et elle souhaite que je lui envoie de l'argent j'ai des doutes est ce une scammeuse?


Keywords:
2014-12-16, 03:18:12
anonymous  
Aw, this was a really nice post. In thhuogt I would like to put in writing like this moreover – taking time and actual effort to make a very good article… but what can I say… I procrastinate alot and under no circumstances appear to get one thing done.
2014-12-17, 04:02:36
anonymous from Bulgaria  
Haaahahahahaha! I can just picture it now:I had shppeid your goods, but I was being attacked by a large lizard as I rushed it to the local ups, but the ups was already in shambles so I gave it to a guy named Ping who went screaming away in the other direction to avoid some bat-like things. Ping was eaten, but the package continued on, caried on the back of a flying fish. I chased the fish for a while, but it was just too quick. It ran into an airplane in the distance and the package fell onto a moving convoy. The convoy was then ambushed by a *wife steps in yelling in chinese* Revision: I had shppeid your goods.
2014-12-17, 04:02:36
anonymous from Venezuela  
Haaahahahahaha! I can just picture it now:I had shppeid your goods, but I was being attacked by a large lizard as I rushed it to the local ups, but the ups was already in shambles so I gave it to a guy named Ping who went screaming away in the other direction to avoid some bat-like things. Ping was eaten, but the package continued on, caried on the back of a flying fish. I chased the fish for a while, but it was just too quick. It ran into an airplane in the distance and the package fell onto a moving convoy. The convoy was then ambushed by a *wife steps in yelling in chinese* Revision: I had shppeid your goods.
2014-12-20, 00:33:48
anonymous from Venezuela  
you can apply the same step of 6c2a0 steps for GRE test preparation.You can find a <a href=' http://tgtihomdn.co..</a> 20 Step GRE Study Plan. Filed Under: GMAT Tagged With: GMAT Test Prep Comments Policy: Use a valid email address.
2015-01-31, 23:56:51
anonymous from Ireland  
Keep on writing and chngigug away!
2015-02-01, 01:35:45
anonymous  
Imerisspve brain power at work! Great answer!

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: