Problem installing ifplugd/libdaemon from source
This is a problem I generally get but here's a specific issue. I have RH9.
I want to install ifplugd-0.20 (can't post URLs because it's my first post but a simple google will suffice if you're unfamiliar with it) It needs 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:
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
- add LIBDIR to the `LD_RUN_PATH' environment variable
- 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 :
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!