Solved

CGI won't run due to .so files

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

Monthly Recap

May was a big month for new releases from Linux Academy! Take a look at what our team built recently in our blog. You can access the newest releases from our blog.

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…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

630 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