■ Requirement : How to load new shared libraries on linux
■ OS Environment : Linux[RHEL, Centos]
■ Assumption : adding pgsql libs
■ Implementation Steps :
1. As root, edit file /etc/ld.so.conf. Add a line like /usr/local/pgsql/lib
2. Then run command :
$ /sbin/ldconfig
3.In a bash shell, type :
$ export LD_LIBRARY_PATH=/usr/local/pgsql/lib
4. In a csh shell, type
$ setenv LD_LIBRARY_PATH /usr/local/pgsql/lib
■ OS Environment : Linux[RHEL, Centos]
■ Assumption : adding pgsql libs
■ Implementation Steps :
2. Then run command :
$ /sbin/ldconfig
3.In a bash shell, type :
$ export LD_LIBRARY_PATH=/usr/local/pgsql/lib
4. In a csh shell, type
$ setenv LD_LIBRARY_PATH /usr/local/pgsql/lib
No comments:
Post a Comment