LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-01-2004, 11:48 AM   #1
rkwhited
LQ Newbie
 
Registered: Mar 2004
Location: california
Distribution: red hat
Posts: 7

Rep: Reputation: 0
DLL Hell?


Greetings,

I am working on a website where I have multiple CGI modules (compiled C++). I want to put most of the code in a ".so" (a.k.a DLL, dynamic linked library, shared library, or shared object) file.

It seems that LINUX regulates where these must be placed. Since I am only renting a domain name and disk space on someone else's server (it is a www website) for my website, I do not have root etc. permissions obviously.

So the rub is that .so files are generally placed in "/usr/lib" or similar and I do not have access. The only applications that will use my .so libraries are my CGI binaries.

The location is no problem on my own machine where I can place the shared library .so files where I want. But on a webserver it is a problem.

Is this the LINUX DLL hell kinda like the windows DLL hell? Any comments?

RKW
 
Old 10-01-2004, 12:01 PM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
You might be able to point LD_LIBRARY_PATH to the new libs, but I have no idea if this can be applied to cgi.
 
Old 10-01-2004, 12:56 PM   #3
rkwhited
LQ Newbie
 
Registered: Mar 2004
Location: california
Distribution: red hat
Posts: 7

Original Poster
Rep: Reputation: 0
Hey mikshaw,

Thanks. I can do that on my local machine ... I will mention that to the sysop or webadmin at the site to see what they think ...

RKW
 
Old 10-07-2004, 11:11 AM   #4
rkwhited
LQ Newbie
 
Registered: Mar 2004
Location: california
Distribution: red hat
Posts: 7

Original Poster
Rep: Reputation: 0
Still not solved,

The admin added the cgi-bin dir to ld.so.config but I am not sure if he reran ldconfig afterwards.

On my local machine I have some success ... but not yet on the web server.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dll main in *.so bianchi Programming 2 11-20-2005 02:54 AM
/lib and DLL hell? learnfast Linux - Newbie 1 03-09-2005 04:53 AM
DLL and BFD blinux1 Programming 1 03-02-2005 11:28 AM
Error: "A required .DLL file, CYGPCRE -0.DLL, was not found" when using man dipperdan Linux - Newbie 2 04-28-2004 03:55 PM
hal.dll XPediTioN Slackware 3 09-16-2003 12:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration