GIT issue in AIX 6.1


 
Thread Tools Search this Thread
Operating Systems AIX GIT issue in AIX 6.1
# 1  
Old 01-14-2013
GIT issue in AIX 6.1

Hello,

I recently installed GIT 1.8.1 on my AIX 6.1 machine referring to AIX Open Source Packages | Main / git website and am facing a few issues with it.

Now if I login as root and issue git commands like git --version I get the response as shown :
Code:
git version 1.8.1

And I have tried creating repositories as root too and it works fine.

Now If I login as just a normal user and if I issue the version command : git --version I am getting the response as :
Code:
genuser:stud:/students/admin> git --version
exec(): 0509-036 Cannot load program git because of the following errors:
        0509-150   Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
        0509-152   Member libiconv.so.2 is not found in archive

Now how come its working with root user and not working with normal user.

But If I issue man git command in normal user I'm getting the manual for git but the rest of the commands give the above error.

How can I fix this.
# 2  
Old 01-14-2013
u need to install the libiconv package supported by this version
# 3  
Old 01-14-2013
@Syed Imran: I installed the rpm package which was recomended.
Somehow this is able to work perfectly when I login as root.

BTW I noticed that the file libiconv.so.2 file is present in /opt/pvcs813/vm/common/lib/linux/libiconv.so.2 location.

I tried to create a soft link too as follows which gives the following error.
Code:
root:user-> $ ln -s /usr/lib/libiconv.so.2 /opt/pvcs813/vm/common/lib/linux/libiconv.so.2
ln: 0653-421 /opt/pvcs813/vm/common/lib/linux/libiconv.so.2 exists.
    Specify -f to remove /opt/pvcs813/vm/common/lib/linux/libiconv.so.2 before linking.

When the initial error says that 0509-152 Member libiconv.so.2 is not found in archive where does it expect the file libiconv.so.2 to be in.
# 4  
Old 01-14-2013
Quote:
Originally Posted by gaugeta
Code:
root:user-> $ ln -s /usr/lib/libiconv.so.2 /opt/pvcs813/vm/common/lib/linux/libiconv.so.2
ln: 0653-421 /opt/pvcs813/vm/common/lib/linux/libiconv.so.2 exists.
    Specify -f to remove /opt/pvcs813/vm/common/lib/linux/libiconv.so.2 before linking.

The "ln" command failed because you have to put it the other way round:

Code:
ln -s <existing file> <link to create>

But this is not really the problem. The error you get as a normal user says it can't find the library in "/usr/lib" and this is conceivable because it is somewhere else. Instead of softlinking it you should consider modifying the "LIBPATH" and/or "LD_LIBRARY_PATH" to make it found. Issue "set" as root and you might see it is set to some value.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 5  
Old 01-15-2013
@bakunin: Thanks a lot.That was the issue.
Now works perfectly after settting the LIBPATH variable.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

AIX 7.1 gcc 4.8.5 issue

hey guys , after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files Server:root:/ > rpm -qa | grep gcc libgcc-4.8.5-1 gcc-cpp-4.8.5-1 gcc-4.8.5-1 gcc-c++-4.8.5-1 but whene we proceed to compile a c programm we have this error exec(): 0509-036... (17 Replies)
Discussion started by: yahia
17 Replies

2. Programming

Gcc 4.5.8 on AIX 7.1 issue

after migrate our AIX server from 6.1 to 7.1 , we insalled c compilator with rpm files Server:root:/ > rpm -qa | grep gcc libgcc-4.8.5-1 gcc-cpp-4.8.5-1 gcc-4.8.5-1 gcc-c++-4.8.5-1 but whene we proceed to compile a c programm we have this error exec(): 0509-036 Cannot load... (2 Replies)
Discussion started by: yahia
2 Replies

3. UNIX for Beginners Questions & Answers

Printing issue with AIX 7.2

Hello group. I recently upgraded my company's server from an IBM P520 w/AIX 5.1 to a new Power 8 w/AIX 7.2. The old server used serial printing and we turned off the print queing feature. We did this because we have many custom forms and did not want a que/spooling situation where a print job... (1 Reply)
Discussion started by: Len Davis
1 Replies

4. AIX

AIX FTP issue

Hi, I ftpd "binary" mode into a AIX server and transferred .tar.tar files. When i untar using "tar -xvf <filename>.tar.gz" It shows "tar: 0511-169 A directory checksum error on media; 0 not equal to 70568." Please Help!! (3 Replies)
Discussion started by: Priya Amaresh
3 Replies

5. AIX

AIX memory issue

Currently server have load while there is no heavy things running, just oracle database/ application server oracle. I don't understand why server have heavy load, 22GB is under buffer, how to clean buffer/memory in AIX load averages: 9.42, 9.43, 9.68; 05:25:08 141 processes: 125 idle, 16... (12 Replies)
Discussion started by: learnbash
12 Replies

6. AIX

AIX Networking Issue

Hello, I'm trying to set up an internet connection on an IBM RS/6000 7043-140 machine with AIX v 5.1. The problem is that no matter if it is setup to receive an IP address from another DHCP server or has a static IP set, it seems to act as a DHCP server that assigns a random IP address with a... (3 Replies)
Discussion started by: Xsystem
3 Replies

7. AIX

performance issue in AIX

Gurus, i have process that runs 5 times a day. it runs normally (takes about 1 hour) to complete in 3 runs but it is takes about ( 3 hrs to complete) two times So i need to figure out why it takes significanlty high time during those 2 runs. The process is a shell script that connect to... (2 Replies)
Discussion started by: mad_man12
2 Replies

8. UNIX for Advanced & Expert Users

Aix pid issue

Hi I have an IBM AIX 5.3 64Bit running with 64bit application (Kernel runs on 64bit also). I changed the maximum proccesses per user to the maximum. Currently the pids of proccesses in the system using 5 digits (<100000). Is it possible to make the system use pids bigger then 4500000? I need it... (6 Replies)
Discussion started by: idana
6 Replies

9. AIX

Issue "Error 404" when upgrade AIX 5300-05-CSP-0000 to AIX (5300-09-02-0849)

Please read my issue! My old server using: - AIX system operating (5300-05-CSP-0000) - WebSphere 6.1.0.21 (Fix Pack 21) After I've upgraded version AIX - AIX system operating (5300-09-02-0849) - WebSphere 6.1.0.21 (Fix Pack 21) I have 1 issue when I access home page: "Error... (0 Replies)
Discussion started by: gamonhon
0 Replies

10. Shell Programming and Scripting

awk issue on AIX

Hi, two teams at two locations - A & B. At location A, we have AIX 5.3 and at location B, we have AIX 5.1. We execute the below awk command in loc A and it executes successfully(part of a larger script). But the same does not get executed in the loc B server. We are not able to access the loc B... (1 Reply)
Discussion started by: ranj@chn
1 Replies
Login or Register to Ask a Question