Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Qtella (Linux/Unix) (https://www.gnutellaforums.com/qtella-linux-unix/)
-   -   Compilation problem (https://www.gnutellaforums.com/qtella-linux-unix/9984-compilation-problem.html)

Unregistered April 2nd, 2002 08:19 AM

Compilation problem
 
Hi all

I'm having trouble compiling both qtella-0.4.2 and qtella-0.5.1. I'm not very experienced with compiling c++, so this might not be a problem with the qtella code, but rather that I have not set up the environment for c++ compiling properly?

Anyway I use SUSE 7.0, KDE 2.2.2. "configure" runs just fine, and "make" too to begin with. But when it comes to linking the .o files:

c++ -g -O2 -o qtella -L/usr/lib/qt2/lib -L/opt/kde2/lib BAddApplication.o BBlockHost.o BDeleteDialog.o ... ... ... HashTable.o -lqt-mt -lkdecore -lkdeui -lkio -lkfile

I get the folowing warnings:

/usr/i486-suse-linux/bin/ld: warning: libDCOP.so.1, needed by /opt/kde2/lib/libkdecore.so, not found (try using --rpath)
/usr/i486-suse-linux/bin/ld: warning: libkdesu.so.1, needed by /opt/kde2/lib/libkio.so, not found (try using --rpath)
/usr/i486-suse-linux/bin/ld: warning: libkssl.so.2, needed by /opt/kde2/lib/libkio.so, not found (try using --rpath)
/usr/i486-suse-linux/bin/ld: warning: libksycoca.so.3, needed by /opt/kde2/lib/libkfile.so, not found (try using --rpath)

The funny thing is that I have all of these installed:

>locate libDCOP
/opt/kde2/lib/libDCOP.la
/opt/kde2/lib/libDCOP.so
/opt/kde2/lib/libDCOP.so.1
/opt/kde2/lib/libDCOP.so.1.0.0
>locate libkdesu
/opt/kde2/lib/libkdesu.la
/opt/kde2/lib/libkdesu.so
/opt/kde2/lib/libkdesu.so.1
/opt/kde2/lib/libkdesu.so.1.0.0
>locate libkssl
/opt/kde2/lib/libkssl.la
/opt/kde2/lib/libkssl.so
/opt/kde2/lib/libkssl.so.2
/opt/kde2/lib/libkssl.so.2.0.2
>locate libksycoca
/opt/kde2/lib/libksycoca.la
/opt/kde2/lib/libksycoca.so
/opt/kde2/lib/libksycoca.so.3
/opt/kde2/lib/libksycoca.so.3.0.0

and after this a whole bunch errors like these occur:

QtellaSub.o: In function `QtellaSub::launchFile(basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> > const &)':
/opt/kde2/include/krun.h:278: undefined reference to `KOpenWithHandler::pOpenWithHandler'
QtellaSub.o: In function `QtellaSub::launchFile(basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> > const &)':
/home/andreas/Download/Music/qtella-0.5.1/src/QtellaSub.cpp:1055: undefined reference to `KRun::KRun(KURL const &, unsigned int, bool, bool)'


Any help would be much appreciated,

Cheers,
Andreas Jonsson

Unregistered April 3rd, 2002 01:27 PM

Solved it myself. I had forgot to export the LD_LIBRARY_PATH. Stupid me!

/Andreas

aground June 27th, 2002 11:52 AM

similar issue
 
My issue is the same as yours, however, I didn't follow your import library file comment.

So can you explain more explicitly how you resolved this install issue.

I'm getting the failed dependencies error.
EJ


All times are GMT -7. The time now is 11:18 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.