Solved

Problem With GIT on AIX 6.1

Posted on 2013-01-14
2
977 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

744 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now