Hi everybody,
This is a problem I generally get but here's a specific issue. I have
RH9.
I want to install ifplugd-0.20
(
http://0pointer.de/lennart/projects/ifplugd/) It needs libdaemon
(
http://0pointer.de/lennart/projects/libdaemon/)
So I installed libdaemon without a problem. But when I run ./configure
for ifplugd-0.20 I get :
"checking for daemon_fork in -ldaemon... no
configure: error : *** Sorry, you have to install libdaemon ***"
This is a general problem I have. Whenever I install some library like
this from source (and not via RPM) other softwares can never detect it
(like when I installed GTK)
When I did "Make install" for libdaemon I got this message:
Libraries have been installed in:
/usr/local/stow/libdaemon-0.3/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'
So I added /usr/local/stow/libdaemon-0.3/lib to /etc/ld.so.conf and
ran the command :
#> ldconfig
Didn't get any errors!
I know it's probably something simple but it's just something I never
figured out. Any suggestions will be really appreciated!