OpenLDAP를 와우 리눅시 7.1에 설치하려고 합니다.
먼저..버클리 DB 4.1.5 받아서...설치하는데..무슨 에러인지...ㅜ.ㅜ
cd /usr/local/db-4.1.5 이동하고
cd dist 이동
./configure
make 까지는 에러가 없습니다.
make install 을 하면 에러가 발생합니다.
[root@localhost dist]# make install
Installing DB include files: /usr/local/BerkeleyDB.4.1/include ...
Installing DB library: /usr/local/BerkeleyDB.4.1/lib ...
cp -p .libs/libdb-4.1.so /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.so
cp -p .libs/libdb-4.1.lai /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.la
cp -p .libs/libdb-4.1.a /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.a
ranlib /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.a
chmod 644 /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/BerkeleyDB.4.1/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/BerkeleyDB.4.1/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make: *** [install_lib] Error 1
무슨 에러인지..고수님들에... 의견 부탁합니다..
|