Alonso Graterol wrote:
> Strange thing is that prior to floppy subsection the cgi one was
> compiled OK using the same "-lkio" call. I don't understand why it is
> able to find it once but not twice.
> I tried setting LD_LIBRARY_PATH=/opt/kde/lib and also
> LD_LIBRARY_PATH=/opt/kde/lib/kde3 but error continues.  kio_floppy.la
> (and also kio_floppy.so) do exist at /opt/kde/lib/kde3

LD_LIBRARY_PATH is used only at runtime to search for libraries.

You need to pass the "-L /opt/kde/lib/kde3" option at build time in order for 
the build process (or, more precisely, /usr/bin/ld) to find the library, and 
maybe "-R /opt/kde/lib/kde3" in order for the program to search for libraries 
there at runtime without the help of LD_LIBRARY_PATH.

And BTW, I think that it is a bug in BLFS that it doesn't document such things 
clearly.

-- 
Alexander E. Patrakov
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to