Solved

Problem With GIT on AIX 6.1

Posted on 2013-01-14
2
982 Views
Last Modified: 2013-01-14
Hello Experts..

I recently installed GIT version control system on AIX 6.1.

If I issue a GIT command like :
git --version as a root user I am getting the expected result.

But If a normal user tries the same command the user is  getting error as:

stuadmin:stud:/usr/lib> 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

Open in new window


How can I solve this.

Please help...
0
Comment
Question by:gaugeta
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 38774135
Seems there are different LIBPATH settings for root and the normal user.

libiconv.a as provided by the RPM package "libiconv" is located in /opt/freeware/lib and this is the library required by GIT.

libiconv.a as provided by the AIX package "bos.rte.iconv" is located in /usr/lib. /usrlib is the preferred path if no LIBPATH is set, but the libiconv library there is not suitable for GIT.

So run

echo $LIBPATH

as root and as normal user and compare the results.

If there is a LIBPATH for the normal user (I think there is none) try to find out where it's being set and adjust accordingly, otherwise add a LIBPATH statement corresponding to root's LIBPATH to the normal user's .profile.
0
 

Author Comment

by:gaugeta
ID: 38774188
@woolmilkporc: Thanks a lot for the help.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question