Solved

Problem With GIT on AIX 6.1

Posted on 2013-01-14
2
992 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Suggested Courses

738 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