LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (http://www.linuxquestions.org/questions/aix-43/)
-   -   GIT issue in AIX 6.1 (http://www.linuxquestions.org/questions/aix-43/git-issue-in-aix-6-1-a-4175445482/)

gaugeta 01-13-2013 11:42 PM

GIT issue in AIX 6.1
 
Hello,

I recently installed GIT 1.8.1 on my AIX 6.1 machine 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:

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.

BTW the file libiconv.so.2 is not present in /usr/lib directory but it still works in root user but not in normal user.

How can I fix this.

TB0ne 01-14-2013 04:38 PM

Quote:

Originally Posted by gaugeta (Post 4869411)
Hello,
I recently installed GIT 1.8.1 on my AIX 6.1 machine 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.

BTW the file libiconv.so.2 is not present in /usr/lib directory but it still works in root user but not in normal user.
How can I fix this.

Wherever the libiconv.a file is, your 'normal' user doesn't have permissions to read it, so you get the error. Root can read anything, so check the permissions on that file/directory, and modify them to allow 'normal' users to be able to read-only.

The man pages are just informational texts, and they're in a different directory, and opened with the man program. One doesn't have anything to do with the other.

gaugeta 01-15-2013 02:33 AM

@TB0ne:Thanks for the reply.
Actually there was an issue with the LIBPATH variable which was solved after re-setting it.


All times are GMT -5. The time now is 04:07 AM.