Solved

CGI won't run due to .so files

Posted on 1998-12-10
2
143 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
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
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 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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

771 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

16 Experts available now in Live!

Get 1:1 Help Now