Solved

CGI won't run due to .so files

Posted on 1998-12-10
2
159 Views
Last Modified: 2013-12-25

I have a cgi written in c++ on solaris 2.6. What I've discovered is that if I link with a .so file I get a server error. If I link using a .a with the -Bstatic flag then the cgi works properly. Unfortunately the full blown version of this cgi requires a couple of .so files that do not appear to have accompaning .a files.

Has anyone run into this problem and found a suitable work arount?

The server software we're using is netscape's suitespot 3.51 on solaris 2.6

Thank you,
0
Comment
Question by:winkle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Expert Comment

by:faster
ID: 1830076
Maybe you can check whether the path and LIBPATH env var. for your cgi are correct.
0
 
LVL 11

Accepted Solution

by:
mouatts earned 200 total points
ID: 1830077
Normally with netscape the CGIs are run as nobody which again normaly has no environment set. So the .so do need to be in the normal place for shared objects eg /usr/sbin.

Generally it is best to set up a symbolic link to the files from this directory.

Steve
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
In this tutorial I will show you how to make a simple HTML bar chart with the usage of WhizBase, If you want more information about WhizBase please read my previous articles at http://www.experts-exchange.com/ARTH_5123186.html (http://www.experts-ex…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question