Solved

CGI won't run due to .so files

Posted on 1998-12-10
2
148 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
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

This tutorial will discuss fancy secure registration forms, with AJAX technology support. In this article I assume you already know HTML and some JS. I will write the code using WhizBase Server Pages, so you need to know some basics in WBSP (you mig…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to dynamically set the form action using jQuery.

815 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now