Login or Register to Ask a Question and Join Our Community

Setting path for a stand alone library in home directory

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Setting path for a stand alone library in home directory
# 1  
Old 01-08-2010
Setting path for a stand alone library in home directory

Hi all,

This is probably a basic question. I had installed a stand-alone library called szip in my home directory, as I don't have the necessary root permission.

I tried to set an environment for both include and lib files in my .cshrc script as

setenv /home/szip/lib
setenv /home/szip/include

But it is not working as the software which uses these libraries are not detecting the path. What should I do? FYI there is no bin directory for szip, and and has only these two directories.

Please help me out.

# 2  
Old 01-08-2010
Look at the environment variable LD_LIBRARY_PATH....
# 3  
Old 01-08-2010
And export them to use it,
# 4  
Old 01-08-2010

Thanks for the prompt reply. I am a newbie and some of my questions may sound naive, so please bear with me. I set path in LD_LIBRARY_PATH but its still not working. The software is looking for a szlib.h file which is in the /home/szip/include directory. How do I set the include directory path?

And how do you export path in a .cshrc file?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

What is the difference ../directory path and ./directory path in ksh?

What is the difference ../directory path and ./directory path in ksh? (1 Reply)
Discussion started by: TestKing
1 Replies

2. UNIX for Beginners Questions & Answers

Convert Relative path to Absolute path, without changing directory to the file location.

Hello, I am creating a file with all the source folders included in my git branch, when i grep for the used source, i found source included as relative path instead of absolute path, how can convert relative path to absolute path without changing directory to that folder and using readlink -f ? ... (4 Replies)
Discussion started by: Sekhar419
4 Replies

3. AIX

Add shared members from library to same library in a different directory

I'm trying to install libiconv to AIX 7.1 from an rpm off of the perzl site. The rpm appears to install but I get this error message. add shr4.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a add shr.o shared members from /usr/lib/libiconv.a to ... (5 Replies)
Discussion started by: kneemoe
5 Replies

4. UNIX for Dummies Questions & Answers

Setting the current directory path to terminal title

In ubuntu, I want to update the title of the terminal window with the current directory path. Any ideas how this can be achieved? ---------- Post updated at 02:22 PM ---------- Previous update was at 02:08 PM ---------- Done it ---------- Post updated at 02:30 PM ---------- Previous update... (2 Replies)
Discussion started by: kristinu
2 Replies

5. AIX

Setting AIX box at home.

Hi guys... I have got a old Aix box i.e. 7043 - 150 for home experimenting purposes. I am having some issues to setup the tcpip on it correctly, so that i can access it within the network and also from outside i.e. work. My setup looks like this: Modem ----> Apple airport wireless router... (2 Replies)
Discussion started by: uzair_rock
2 Replies

6. IP Networking

Setting to SSH home-PC from Work

Hello, My question is very basic for the settings to SSH my home PC from work. Home network two PC: Internet comes into my house through ISP modem and then the two PCs are connected with the router (Trendnet). The IPs for my PCs are How to set other stuffs for me to access my home PC from... (5 Replies)
Discussion started by: yifangt
5 Replies

7. UNIX and Linux Applications

Setting up Oracle RAC at home

Hello, I'm planning to set up Oracle 10g RAC at home. I was initaillay planning to get a windows desktop and install Cent OS after wiping out the existing windows OS. I have some questions with regards to this. 1) For setting up RAC, I would have to install an additional NIC besides the one... (2 Replies)
Discussion started by: luft
2 Replies

8. UNIX for Advanced & Expert Users

setting up my HOME PC as server

Hi , i am having RedHat AS 4 in my home PC.now i want to access applications remotely i.e from office. how can i do that. in short i would like to make my PC as server for doing test's. while I am @ work. I am using static IP. leenus (1 Reply)
Discussion started by: rrs
1 Replies

9. Shell Programming and Scripting

setting Oracle Home

Hi, if i set Oracle home in the command line as export ORACLE_HOME=/usr/oracle/product/9.2.0; and then checking it by typing echo $ORACLE_HOME,its getting the correct result.But if i try setting the ORACLE_HOME from a shell script by just including the same line as above,it was... (3 Replies)
Discussion started by: DILEEP410
3 Replies

10. UNIX for Dummies Questions & Answers

home directory in search path

Is it unsafe to put your own home directory (a regular user) in your search path? I am writing useful shell scripts, but don't have the permissions to put them in /usr/bin. (Korn shell) thanks (2 Replies)
Discussion started by: jpprial
2 Replies
Login or Register to Ask a Question

Featured Tech Videos