Dear All,
I am posting my message here with hope that somebody will help.
My configuration:
Mandrake Linux 7.0 (kernel 2.2.14)
KDevelop 1.2
KDE2 1.93 Beta3 installed
OpenSSL-0.9.5a-3mdk.i586.rpm (May 2000)
Error message:
LD : can't open -lssl
All compilation process came ok.
Thank you in advance!
Vadim Plessky
---------- Forwarded Message ----------
Subject: Re: Fwd: Kdevelop setup - SSL Library?
Date: Fri, 18 Aug 2000 10:13:10 +0400
From: Vadim Plessky <[EMAIL PROTECTED]>
To: Sandy Meier <[EMAIL PROTECTED]>
Sandy,
I analyzed both Project options and makefile.
Difference in KDE2mini and KDE2normal prototypes in KDevelop is that
KDE2normalhas +Kfile option in linker, (and for Mini - it is not included)
So, problem cames from this. Looks like KFile needs SSL, probably for
WEB-based filesystems). When make runs, KDevelop automatically extends KFile
option into linking -lssl and -lcrypto. So, I can't exclude "-lssl", as the
only way to check off "KFile", and then slotFileOpen and so on functions
become undefined, and compiler stops.
I copied libraries in kde2/lib, set additional path to /usr/lib/ - nothing
happens. LD doesn't see it
I have looked into KDE2/lib directory. All libraries are like this:
libkcm_layout.la
libkcm_layout.so
(every library has .la)
I believe problem with this... And depite I have OpenSSL installed, and
registered in KPackage, KDevelop doesn't see it.
May I ask you to do a favour for me?
Pls look in KPackage where your SSL library comes from, and send me this RPM
package. I took my SSL library from Mandrake site, where my Linux comes from,
but it seems it's not complete.
Many thanks in advance, and have a nice week-end!
Vadim
On Wed, 16 Aug 2000, you wrote:
> On Wed, 16 Aug 2000 you wrote:
> > I added to /.bashrc
> > export LD_LIBRARY_PATH= ....:/usr/lib
> >
> > ENV shows that this setting is in environment
> > KDevelop gives the same message.
> >
> > on previous line to this error, he is linking many files.
> > I have checked - there is -lcrypto linking as well.
> > May be, I should switch it off somewhere? Q: where? :-)
>
> You can switch off libraries with "project->options->linkeroptions".
> KDevelop doesn't add -lssl or -lcryto by itself. You or somewhere have
> added it.
>
> > I really don't understand where the problem is coming.
> > QT2 and KDE2 mini compiles ok, and there is a problem with KDE2 normal.
> > May be, this -lssl can be turned off somewhere in sourcecode or in
> > compiler options (makefile)?
>
> You can take a look into the projectname/projectname/Makefile.am.
>
>
> Sandy
--
Best Regards,
Vadim Plessky
-------------------------------------------------------
--
Best Regards,
Vadim Plessky