$ ./configure
...
$ make
...
$ sudo make install
Making install in lib
make[1]: Entering directory `/software/duc/duc-git/lib'
make[2]: Entering directory `/software/duc/duc-git/lib'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ../libtool --mode=install /usr/bin/install -c libduc.la libduc-graph.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libduc.so.1.0.0 /usr/local/lib/libduc.so.1.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libduc.so.1.0.0 libduc.so.1 || { rm -f libduc.so.1 && ln -s libduc.so.1.0.0 libduc.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libduc.so.1.0.0 libduc.so || { rm -f libduc.so && ln -s libduc.so.1.0.0 libduc.so; }; })
libtool: install: /usr/bin/install -c .libs/libduc.lai /usr/local/lib/libduc.la
libtool: install: /usr/bin/install -c .libs/libduc-graph.so.1.0.0 /usr/local/lib/libduc-graph.so.1.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libduc-graph.so.1.0.0 libduc-graph.so.1 || { rm -f libduc-graph.so.1 && ln -s libduc-graph.so.1.0.0 libduc-graph.so.1; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libduc-graph.so.1.0.0 libduc-graph.so || { rm -f libduc-graph.so && ln -s libduc-graph.so.1.0.0 libduc-graph.so; }; })
libtool: install: /usr/bin/install -c .libs/libduc-graph.lai /usr/local/lib/libduc-graph.la
libtool: install: /usr/bin/install -c .libs/libduc.a /usr/local/lib/libduc.a
libtool: install: chmod 644 /usr/local/lib/libduc.a
libtool: install: ranlib /usr/local/lib/libduc.a
libtool: install: /usr/bin/install -c .libs/libduc-graph.a /usr/local/lib/libduc-graph.a
libtool: install: chmod 644 /usr/local/lib/libduc-graph.a
libtool: install: ranlib /usr/local/lib/libduc-graph.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/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[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/software/duc/duc-git/lib'
make[1]: Leaving directory `/software/duc/duc-git/lib'
Making install in duc
make[1]: Entering directory `/software/duc/duc-git/duc'
make[2]: Entering directory `/software/duc/duc-git/duc'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/bin/sh ../libtool --mode=install /usr/bin/install -c duc duc.debug '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/duc /usr/local/bin/duc
libtool: install: /usr/bin/install -c duc.debug /usr/local/bin/duc.debug
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/software/duc/duc-git/duc'
make[1]: Leaving directory `/software/duc/duc-git/duc'
make[1]: Entering directory `/software/duc/duc-git'
make[2]: Entering directory `/software/duc/duc-git'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/software/duc/duc-git'
make[1]: Leaving directory `/software/duc/duc-git'
$ duc
duc: error while loading shared libraries: libduc.so.1: cannot open shared object file: No such file or directory
$ sudo ldconfig
$ duc
usage: duc <cmd> [options] [args]
Available cmds:
help : Show help
info : Dump database info
index : Index filesystem
gui : Graphical interface
ls : List directory
graph : Draw graph
xml : Dump XML output
cgi : CGI interface