Solved

CGI won't run due to .so files

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Python 2.7 - French characters 6 59
Building Windows 10 1 76
inactive users 13 72
Interactive Script in Scheduled Task not running 8 0
In this tutorial I will aim to show you how simple is making a small application in WhizBase, how to add, remove and update data in the DB. I will make a small address book application where you can add, browse, update and remove addresses. I wi…
It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

864 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

21 Experts available now in Live!

Get 1:1 Help Now