Hello,
I would really like a better solution that I have for this issue. When we run git on our AIX 7.1 machine we get this:
[mmetts@crcoacs1 ~]$ git
Could not load program git:
Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
Member libiconv.so.2 is not found in archive
...Unless we blank out LIBPATH so it will find libiconv.a in /opt/freeware/lib instead. This leads to crappy global aliases on the system like this:
alias git='LIBPATH=/opt/freeware/lib:/usr/lib git'
...I truly think that in this day and age there has to be a better way to mix freeware with AIX. Why can't git use the native AIX libiconv? Couldn't these libraries have different names? In any case, this is a very annoying problem.
BTW, this is what the global LIBPATH looks like normally:
[mmetts@crcoacs1 ~]$ echo $LIBPATH
/home/db2inst1/sqllib/lib64:/home/db2inst1/sqllib/lib64/gskit:/home/db2inst1/sqllib/lib64/gskit:/usr/lib:/lib
...So it's not straight-forward to say that I should just have a blank one. Does anyone have some helpful suggestions for a cleaner way to make all this stuff work together?
Thanks,
Mike
------------------------------
Michael L. Metts
Principal Data Engineer
CORNERSTONE RESEARCH
1000 El Camino Real, Suite 250
Menlo Park, CA 94025-4327
------------------------------