Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Howto for build openssl >= 0.9.7
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
joshdr77
Apprentice
Apprentice


Joined: 03 Jan 2003
Posts: 180

PostPosted: Tue Nov 11, 2003 12:38 am    Post subject: Reply with quote

Code:

#!/bin/bash

#replace this with the currently installed version
openssl_installed="0.9.6"

for i in $(find / -type f -name '*.so*' 2>/dev/null) \
        $(find $(echo $PATH | sed 's/:/ /g') -type f -perm +0111 2>/dev/null); do
                ldd ${i} 2>&1 | grep -e "libcrypto.so.${openssl_installed} => not found" \
                        -e "libssl.so.${openssl_installed} => not found" - >/dev/null \
                        && qpkg -f -nc  -v $i
        done


Back to top
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Tue Nov 11, 2003 1:47 am    Post subject: Reply with quote

What a list! Here's mine sorted and ready for pasting in after the "emerge --oneshot":

Quote:
openssl python cups ghostscript gnome-vfs libgnome libbonoboui libgnomeui gnome-spell gnome-desktop libgnomeprint gal libgtkhtml yelp kdelibs kdebase xine-lib curl vorbis-tools grip xine-ui ethereal nmap sendmail evolution ssmtp openssh wget dctc dc-gui libgnomecups gnome-cups-manager apache
Back to top
View user's profile Send private message
padukes
Apprentice
Apprentice


Joined: 27 Feb 2003
Posts: 232

PostPosted: Tue Nov 11, 2003 3:03 am    Post subject: Reply with quote

Quote:
You must re-emerge every package that links to openssl after you have merged openssl 0.9.7 This is becuse packages that links against openssl 0.9.7 links against the full version.


Can someone please explain *why* in a little more detail?

Thanks,
P
Back to top
View user's profile Send private message
andvin
n00b
n00b


Joined: 27 May 2003
Posts: 23
Location: Linköping, Sweden

PostPosted: Tue Nov 11, 2003 7:15 am    Post subject: Reply with quote

padukes wrote:
Quote:
You must re-emerge every package that links to openssl after you have merged openssl 0.9.7 This is becuse packages that links against openssl 0.9.7 links against the full version.


Can someone please explain *why* in a little more detail?

Thanks,
P


The packages doesn't link against a simple name like 'libssl.so' but a name with version information like 'libssl.so.0.9.6', I think...
Back to top
View user's profile Send private message
banzai
n00b
n00b


Joined: 09 Apr 2003
Posts: 20

PostPosted: Tue Nov 11, 2003 1:06 pm    Post subject: ghostscript and openssl Reply with quote

Hi there!

Ok, I emerged openssl 0.9.7, re-emerged wget, wget is working again...
Now I tried to do this with ghostscript which was also not working after emerging openssl 0.9.7.

But after re-emerging ghostscript it's still not working.
Look at this:

freewind root # ldd /usr/bin/gs
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40029000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4007b000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40089000)
libpng.so.3 => /usr/lib/libpng.so.3 (0x40168000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40193000)
libz.so.1 => /usr/lib/libz.so.1 (0x401b1000)
libcupsimage.so.2 => /usr/lib/libcupsimage.so.2 (0x401bf000)
libtiff.so.3 => /usr/lib/libtiff.so.3 (0x401d2000)
libm.so.6 => /lib/libm.so.6 (0x4021e000)
libcups.so.2 => /usr/lib/libcups.so.2 (0x40240000)
libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x4025d000)
libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x4028a000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40377000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x4038c000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x4038f000)
libdl.so.2 => /lib/libdl.so.2 (0x403b4000)
libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5 (0x403b7000)
libc.so.6 => /lib/libc.so.6 (0x4046d000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4059d000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x405a6000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libssl.so.0.9.6 => not found
libcrypto.so.0.9.6 => not found
libgcc_s.so.1 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libgcc_s.so.1 (0x405bd000)



Ghostscript links to version 0.9.7 _AND_ to version 0.9.6 (which is not found). wtf??
Any ideas someone?

Banzai.
Back to top
View user's profile Send private message
fosstux
Apprentice
Apprentice


Joined: 01 Oct 2002
Posts: 274
Location: Vienna, Austria

PostPosted: Tue Nov 11, 2003 8:54 pm    Post subject: emerge Problem Reply with quote

Hi!

I did an emerge -u world which exited with an error. But now whenever I want to emerge something I get the error that libssl.so.0.9.6 is missing. I have upgraded to openssl 0.9.7c-r1.

This update-script returns an empty list and I cannot emerge anything at all.

I get the following messages:
Quote:
Calculating world dependencies ...done!
>>> emerge (1 of 75) sys-devel/bin86-0.16.13 to /
>>> Downloading http://gentoo.oregonstate.edu/distfiles/bin86-0.16.13.tar.gz
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.6: cannot open shared object file: No such file or directory
>>> Downloading http://distro.ibiblio.org/pub/Linux/distributions/gentoo/distfiles/bin86-0.16.13.tar.gz
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.6: cannot open shared object file: No such file or directory
>>> Downloading http://www.cix.co.uk/~mayday/dev86/bin86-0.16.13.tar.gz
/usr/bin/wget: error while loading shared libraries: libssl.so.0.9.6: cannot open shared object file: No such file or directory
!!! Couldn't download bin86-0.16.13.tar.gz. Aborting.


Please help.

Thanks.
_________________
Windows = a 64 bit rewrite for a 32 bit extension to a 16 bit GUI on an
8 bit OS written for a 4 bit architecture by a 2 bit company who can't
stand 1 bit of competition.
Back to top
View user's profile Send private message
pstevenson
n00b
n00b


Joined: 10 Dec 2002
Posts: 49
Location: Portsmouth, UK

PostPosted: Tue Nov 11, 2003 10:41 pm    Post subject: Reply with quote

If you can't emerge anything because wget isn't working, try typing 'emerge wget'. If you don't still have a local copy of the distfile (wget-*.tgz or whatever), you can at least see where portage is trying to get it from. Then you can get it manually from a browser, and put it in your distfile directory (usually /usr/portage/distfiles). Now typing 'emerge wget' shour recompile wget for use with libssl 0.9.7 and you can get on with emerging other stuff


Paul
Back to top
View user's profile Send private message
Air-Op
n00b
n00b


Joined: 02 Apr 2003
Posts: 52

PostPosted: Wed Nov 12, 2003 4:36 am    Post subject: symlinking to ssl.6 also works Reply with quote

If you do a sym link from the old to the new, it at least made my xine work.


hey, this type of thing happening is a major bug.
There is no convienent way to read the package description.

If its really that important, you should also include something that will make it automatically recompile all the stuff that links to it (kinda scary)

or (easy hack!!!)
use that "no download" option with the ebuilds... so that it requests the presence of a file... the file could just contain "yes" if we are sure we want to do the system breaking upgrade.

I was planning to watch a movie with my friends... and had to fiddle with the symlink to get it to work in a pinch
Back to top
View user's profile Send private message
Spirch
n00b
n00b


Joined: 08 Aug 2002
Posts: 48

PostPosted: Fri Nov 14, 2003 12:51 pm    Post subject: Reply with quote

what i did is a simple ln -s /usr/lib/libssl.so /usr/lib/libssl.so.0.9.6

i didn't recompile openssh or wget or anything else...
Back to top
View user's profile Send private message
d3vlin
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2003
Posts: 134

PostPosted: Tue Nov 18, 2003 9:59 am    Post subject: Reply with quote

my sys has openssl 0.9.7c-r1 installed fine, however samba didn't work anymore:

Code:

kaitain root # /etc/init.d/samba start
 * Starting samba...
/usr/sbin/smbd: error while loading shared libraries: libssl.so.0.9.6: cannot open shared object file: No such file or directory                                                                        [ !! ]

kaitain root #


so I did a revdep-rebuild openssl.so.0.9.6 and samba was listed, re-merged samba using the line from the revdep script:

Code:

emerge --oneshot --nodeps =net-fs/samba-3.0.0-r1


which went just fine. Still I can't samba afterwards, same error, appearantly it is still linked against 0.9.6 :(
What am I doing wrong?
Back to top
View user's profile Send private message
prothid
n00b
n00b


Joined: 10 Mar 2004
Posts: 1
Location: Los Angeles, CA

PostPosted: Wed Mar 10, 2004 6:46 pm    Post subject: Reply with quote

This seems to fix my problems related to ssl dependant packages. OpenSSH was erroring out on ssl related functions when i emerged it until I did this:

Code:
emerge -uD openssl


To quote from someone furthur up this thread, I was getting error messages like these:

swimgeek wrote:
Hi,
I emerged openssl-0.9.7b and then tried to re-emerge openssh and here is the error message I got:
Code:

gcc -o ssh ssh.o readconf.o clientloop.o sshtty.o sshconnect.o sshconnect1.o sshconnect2.o -L. -Lopenbsd-compat/  -lssh -lopenbsd-compat -lutil -lz -lnsl -lcrypto
./libssh.a(rsa.o)(.text+0x269): In function `rsa_generate_additional_parameters':
: undefined reference to `BN_mod'
./libssh.a(rsa.o)(.text+0x29b): In function `rsa_generate_additional_parameters':
: undefined reference to `BN_mod'
collect2: ld returned 1 exit status
make: *** [ssh] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-misc/openssh-3.6.1_p2 failed.
!!! Function src_compile, Line 92, Exitcode 2
!!! compile problem

Did anyone get the same message? What might be wrong?

thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum