Shared hosting, how to install programs and libraries in your home folder


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Shared hosting, how to install programs and libraries in your home folder
# 1  
Old 01-20-2010
Shared hosting, how to install programs and libraries in your home folder

Hi all

I hope I am posting in the right section. If not please excuse me and redirect me to the right section.
Here is my problem:

I am using a shared hosting plan at Godady. I have shell access and of course my own folder.
I would like to be able to install programs in my own folder (small utilities) which usually look for their shared libraries in predetermined folders.
Basically the issue is described here Shared Libraries
What I do not understand is this: are the programs coded/written to look for specific libraries in one folder and only one (like /usr/local/lib) or they will search the entire path?

Can anybody explain me what I have to do to in a simpler way? The above document is a little to much for me I am afraid.

My whole ordeal is documented here Re: [rrd-users] RRDTools Server and Installing RRDTools in a shared host

I basically need help for the last part of my issue described there where the program is asking for some .so files



Thank you
PF
# 2  
Old 01-20-2010
Generally you can look through the make and config files to see where the paths are for those files. They are set to /usr/local/lib by default. The configure file should have the path to the location, and the make file has some options for searching for specific library files:

GNU `make'
# 3  
Old 01-20-2010
I don't have access to make either.
I need a solution to deal with already compiled programs (binaries).

Looking at what make does or needs won't solve the problem because I won't be able to change the things. I believe that if the program is configured to search all the paths for shared libraries I do have a chance. If the program is configured to look only in one place I don't have any chance to make it work.
# 4  
Old 01-20-2010
I assume you mean the shared web hosting, ok it looks like you're tying to install/use RRDTools and have tried the binaries and you are having a problem with it not loading the shared libraries to use the program.

And just to let you know the reason why there are (mostly) no shared libraries or access to a compiler such as make or gcc is because they don't want you to install some random piece of software that could break or compromise the machine.

EDIT: What Simon says is also true, which is also what I've said, it just looks like they don't have the modules that you want to use. If they can't/won't help you, then your only other option is to find a web host that can help you and/or get a virtual/dedicated server in which you can install your own programs on.

Last edited by ImYourVirus; 01-20-2010 at 08:38 PM..
# 5  
Old 01-20-2010
Quote:
Originally Posted by ImYourVirus
I assume you mean the shared web hosting, ok it looks like you're tying to install/use RRDTools and have tried the binaries and you are having a problem with it not loading the shared libraries to use the program.

And just to let you know the reason why there are (mostly) no shared libraries or access to a compiler such as make or gcc is because they don't want you to install some random piece of software that could break or compromise the machine.

EDIT: What Simon says is also true, which is also what I've said, it just looks like they don't have the modules that you want to use. If they can't/won't help you, then your only other option is to find a web host that can help you and/or get a virtual/dedicated server in which you can install your own programs on.

I do know the reason, thanks! Smilie
All I needed was a solution to my problem Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Use programs in shared folder except ones in my home dir

I am using a cluster where all the programs are located in a shared folder (I can only read but not modify anything in this folder). The path of the share folder is in my .bashrc file (and thus also in my $PATH - first position): source /home/shared/bashrc But some of the programs are... (5 Replies)
Discussion started by: beca123456
5 Replies

2. Shell Programming and Scripting

Use programs in shared folder except ones in my home dir

(0 Replies)
Discussion started by: beca123456
0 Replies

3. UNIX for Dummies Questions & Answers

MilesWeb.com shared hosting or unlimited hosting plans?

I want to host a website in India, after all my research I have found MilesWeb.com, I am planning to go for their shared plan http://www.milesweb.com/cpanel-hosting.php I have test their contact options and response time, they are really available 24/7. I have checked few other providers, they... (1 Reply)
Discussion started by: Guruguy
1 Replies

4. AIX

Loaded Shared Libraries

Hi, I have a problem about loaded shared libraries. I'm issuing ‘procldd' for a process and AIX shows me the loaded shared libraries. I'm collecting these libraries and counting their size. They were 350MB. After this, I'm issuing ‘ps vx' and I'm seeing that the process takes 130MB from AIX's... (1 Reply)
Discussion started by: jhatzics
1 Replies

5. Shell Programming and Scripting

Find programs that are missing libraries.

I had to whip this up, and it seems useful enough to post here. Say you have been cleaning up your filesystem, and you removed a bunch of libraries, or you shuffled around some library directories, and aren't sure if ld.so.conf is correctly setup. You want to sweep through your file system looking... (0 Replies)
Discussion started by: otheus
0 Replies

6. Programming

makefile for programs using libraries loaded at runtime

Hi everybody! I would like to set in the makefile a path that should be the path where the program searches for the libraries loaded at run time. Is there such a variable to be set in makefile? Thanks in advance! (1 Reply)
Discussion started by: nadiamihu
1 Replies

7. Linux

Shared Libraries

How do i make a library shared say i have a library a.so which i have just compiled. I want to make it shared how do i make it Next Queation is what is the difference between a.so.0 a.so.1 a.so.2 & a.so :rolleyes: (1 Reply)
Discussion started by: wojtyla
1 Replies

8. UNIX for Dummies Questions & Answers

Clarification about shared Libraries

I have a doubt about the shared libraries. Where do you set the path for the shared libaries, for the dynamic loader to locate. Any suggestion would be of great help. thanks (3 Replies)
Discussion started by: ramkumar_gr
3 Replies

9. Programming

shared libraries

I am compiling code which produces .a and .la libraries. How can I produce .so libraries? I know that gcc -shared does but how? (2 Replies)
Discussion started by: thalex
2 Replies

10. Programming

Shared libraries

Hello everybody, I am having major problems at the moment with shared libraries and I have to little knowledge of them to solve them. So please, please help me :) Ok this is the problem: I have a library A, which uses B and C, and C uses again D. If I try to run A as plugin in apache,... (0 Replies)
Discussion started by: Micky
0 Replies
Login or Register to Ask a Question