LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-23-2004, 04:40 PM   #1
the_7th_world
LQ Newbie
 
Registered: Aug 2004
Posts: 12

Rep: Reputation: 0
libgcrypt + gnome (ssl?) problems :(


Hello, I have been trying to use gaim to get onto msn, but, from reading the gaim FAQ, I see that in slackware, there can be problems (and problems-a-many for me).

My problems:

1) When using gaim normally to log into msn, it will sit there connecting for ever, then eventually give up say "<email address here> got disconnected. Reconnect?"
2) When using gaim to get into msn, using it though http, it will log in, but I cannot talk to anyone, or recieve messages from anyone.

The faq said to add a mozilla entry into /etc/ld.so.conf which was the directory of the mozilla libraries, then ldconfig as root.... This didn't work.

I then read the gaim SSL faq at gaim.sourceforge.net/faq-ssl.php which helped me a long the road...

I tried the things I said about using the mozilla ssl abilities, but they all seemed to fail.

I then tried to use the gnuTLS method, but I've run into major problems... The gaim ssl FAQ said the following about gnuTLS:

Quote:
GnuTLS

Thanks to sofar on #gaim for this:

Here's a list in the proper order which you need to install/compile, the versions and links I give compile normally on a reasonably clean system.

libgpg-error (needed by libgcrypt): ftp.gnupg.org/gcrypt/alpha/libgpg-error/libgpg-error-0.5.tar.gz

libgcrypt (needed by GnuTLS): ftp.gnupg.org/gcrypt/alpha/libgcrypt/libgcrypt-1.1.43.tar.gz[/url]

libtasn1 (needed by GnuTLS): ftp.gnutls.org/pub/gnutls/libtasn1/attic/libtasn1-0.2.6.tar.gz[/url]

GnuTLS (needed by Gaim):ftp.gnutls.org/pub/gnutls/attic/gnutls-0.9.91.tar.gz
The first one seems to have installed fine, but the second, libgcrypt doesnt seem to have installed. libtasn1 seems to have installed.

When I run 'configure' for gnuTLS, I get the following error:

Quote:
*** Checking for external libraries...

checking for libgcrypt-config... /usr/local/bin/libgcrypt-config
checking for libgcrypt - version >= 1.1.43... no
*** Could not run libgcrypt test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding LIBGCRYPT or finding the wrong
*** version of LIBGCRYPT. If it is not finding LIBGCRYPT, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
configure: error:
***
*** libgcrypt was not found. You may want to get it from
*** ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/
***
While trying to install one of the above (I can't remember which), I get an error about missing libgcrypt, and an error about missing 'opencdk'. I downloaded opencdk, and tried to install it, only to get the following error during 'make check':

Quote:
/home/seventh/opencdk-0.5.4/tests/.libs/lt-t-stream: error while loading shared libraries: libgcrypt.so.11: cannot open shared object file: No such file or directory
FAIL: t-stream
=====================================
1 of 1 tests failed
Please report to twoaday@freakmail.de
Now, when installing libgcrypt, all seems to go fine, e.g. it passes all 8 tests during 'make check', and 'make install' as root gives the following

Quote:
root@AKIRA:/home/seventh/libgcrypt-1.1.94# make install
Making install in mpi
make[1]: Entering directory `/home/seventh/libgcrypt-1.1.94/mpi'
make[2]: Entering directory `/home/seventh/libgcrypt-1.1.94/mpi'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/seventh/libgcrypt-1.1.94/mpi'
make[1]: Leaving directory `/home/seventh/libgcrypt-1.1.94/mpi'
Making install in cipher
make[1]: Entering directory `/home/seventh/libgcrypt-1.1.94/cipher'
make[2]: Entering directory `/home/seventh/libgcrypt-1.1.94/cipher'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/seventh/libgcrypt-1.1.94/cipher'
make[1]: Leaving directory `/home/seventh/libgcrypt-1.1.94/cipher'
Making install in src
make[1]: Entering directory `/home/seventh/libgcrypt-1.1.94/src'
make[2]: Entering directory `/home/seventh/libgcrypt-1.1.94/src'
/bin/sh ../mkinstalldirs /usr/local/bin
/usr/bin/ginstall -c libgcrypt-config /usr/local/bin/libgcrypt-config
/bin/sh ../mkinstalldirs /usr/local/lib
/bin/sh ../libtool --mode=install /usr/bin/ginstall -c libgcrypt.la /usr/local/lib/libgcrypt.la
/usr/bin/ginstall -c .libs/libgcrypt.so.11.1.0 /usr/local/lib/libgcrypt.so.11.1.0
(cd /usr/local/lib && rm -f libgcrypt.so.11 && ln -s libgcrypt.so.11.1.0 libgcrypt.so.11)
(cd /usr/local/lib && rm -f libgcrypt.so && ln -s libgcrypt.so.11.1.0 libgcrypt.so)
/usr/bin/ginstall -c .libs/libgcrypt.lai /usr/local/lib/libgcrypt.la
/usr/bin/ginstall -c .libs/libgcrypt.a /usr/local/lib/libgcrypt.a
ranlib /usr/local/lib/libgcrypt.a
chmod 644 /usr/local/lib/libgcrypt.a
PATH="$PATH:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
/usr/local/lib

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
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/sh ../mkinstalldirs /usr/local/include
/usr/bin/ginstall -c -m 644 gcrypt.h /usr/local/include/gcrypt.h
/usr/bin/ginstall -c -m 644 gcrypt-module.h /usr/local/include/gcrypt-module.h
/bin/sh ../mkinstalldirs /usr/local/share/aclocal
/usr/bin/ginstall -c -m 644 libgcrypt.m4 /usr/local/share/aclocal/libgcrypt.m4
make[2]: Leaving directory `/home/seventh/libgcrypt-1.1.94/src'
make[1]: Leaving directory `/home/seventh/libgcrypt-1.1.94/src'
Making install in doc
make[1]: Entering directory `/home/seventh/libgcrypt-1.1.94/doc'
make[2]: Entering directory `/home/seventh/libgcrypt-1.1.94/doc'
make[2]: Nothing to be done for `install-exec-am'.
/bin/sh ../mkinstalldirs /usr/local/info
/usr/bin/ginstall -c -m 644 ./gcrypt.info /usr/local/info/gcrypt.info
install-info --info-dir=/usr/local/info /usr/local/info/gcrypt.info
make[2]: Leaving directory `/home/seventh/libgcrypt-1.1.94/doc'
make[1]: Leaving directory `/home/seventh/libgcrypt-1.1.94/doc'
Making install in tests
make[1]: Entering directory `/home/seventh/libgcrypt-1.1.94/tests'
make[2]: Entering directory `/home/seventh/libgcrypt-1.1.94/tests'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/seventh/libgcrypt-1.1.94/tests'
make[1]: Leaving directory `/home/seventh/libgcrypt-1.1.94/tests'
make[1]: Entering directory `/home/seventh/libgcrypt-1.1.94'
make[2]: Entering directory `/home/seventh/libgcrypt-1.1.94'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/seventh/libgcrypt-1.1.94'
make[1]: Leaving directory `/home/seventh/libgcrypt-1.1.94'
root@AKIRA:/home/seventh/libgcrypt-1.1.94#
I'm sorry for the rediculously long post, but I'm desprate for your help. Would the fact that I can log in via http mean that it's nothing to do with ssl? What is going wrong when I'm installing libgcrypt?

p.s. -- Perhaps this is in the wrong forum, I'm not sure if this is a slackware-specific problem.

Really hope you can help!
Thanks in advance,
7th
 
Old 01-21-2005, 03:03 PM   #2
Sm0k3
Member
 
Registered: Sep 2003
Location: Chicago
Distribution: Slackware-current
Posts: 63

Rep: Reputation: 15
I had simular problems compiling gaim on slackware 10...

however installing gnuTLS and the other option (i forget what it is off the top of my head) seemed to make gaim happy...

what seems to me is that you are missing the gcrypt package which i think comes with gnome.. try searching for libgcrypt... it could also be that your /etc/ld.so.conf dosent have the path to libgcrypt in it.. try finding the library on your local system.. if you can't find it then you will have to install the packages that contain it.

Appologies for not being able to clarify this better but at this moment i'm nowhere near my linux machine.. i hope i've been able to point u in the right direction
 
Old 01-22-2005, 03:08 PM   #3
the_7th_world
LQ Newbie
 
Registered: Aug 2004
Posts: 12

Original Poster
Rep: Reputation: 0
Sm0k3, thanks for your reply.

I decided to give the install another try today, and, after a few ups and downs, it all installed fine.
I installed:
libgpg-error
libgcrypt
gnuTLS
gaim

It's all working fine. Not sure what was originally wrong with it, but I've done a fresh install since then, so perhaps that's all I needed.

Thanks again,
7th
 
Old 05-05-2005, 12:22 AM   #4
kevinpan
LQ Newbie
 
Registered: Aug 2004
Posts: 17

Rep: Reputation: 0
what do u mean fresh install? u reinstall the redhat system or just reinstall the packages? i got the same problem with u and quite puzzle.
 
Old 05-05-2005, 06:18 AM   #5
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
kevinpan,

This is a dead thread on the Slackware forum. For Red Hat problems, you should ask those on the Red Hat forum.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libgcrypt sample D. Marowa Programming 1 08-26-2006 05:11 AM
libgcrypt compilation instructions? ParticleHunter Linux From Scratch 4 07-20-2005 12:46 AM
SSL problems tommytomato Linux - General 1 01-04-2004 07:28 AM
SSL problems ohe Linux - Newbie 5 09-22-2003 11:06 AM
SSL problems wmartino Linux - Security 2 09-14-2003 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration