2008/2/25, Robert Daniels <[EMAIL PROTECTED]>:
> On Monday 25 February 2008 08:15:26 pm Alonso Graterol wrote:
>  > 2008/2/25, Alexander E. Patrakov <[EMAIL PROTECTED]>:
>  > > 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
>  >
>  > Sorry, I tried setting LDFLAGS="-R /opt/kde/lib/kde3" and also
>  > LDFLAGS="-L /opt/kde/lib/kde3" but error keeps showing up at same
>  > point.
>  >
>  > Alonso
>
>
> When I first came upon these build failures in kde-3.5.8 and 3.5.9, the
>  first places I looked for a workaround were configure switches, various
>  LDFLAGS, then Makefile editing, all of which failed.  The only thing
>  that worked for me was setting LD_LIBRARY_PATH.  If that is not working
>  for you, try Thomas' idea of using LIBS=-L/opt/kde/lib ./configure
>  $OPTIONS.
>
>  I don't have a 64 bit system sitting around that I can use to
>  troubleshoot any further, but I would expect one of these methods
>  should work.  Then again, putting $KDE_PREFIX/lib in ld.so.conf should
>  work as well, but it doesn't.
>
>  Robert
>
> --
>
> http://linuxfromscratch.org/mailman/listinfo/blfs-dev
>  FAQ: http://www.linuxfromscratch.org/blfs/faq.html
>  Unsubscribe: See the above information page
>

It worked like Thomas said. Thanks and sorry for the trouble
-- 
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