View previous topic :: View next topic |
Author |
Message |
schmittlauch n00b
Joined: 12 Sep 2014 Posts: 23
|
Posted: Tue Jan 27, 2015 8:21 am Post subject: [SOLVED] Changed openssl ABI: OpenSSL version mismatch. |
|
|
I changed the useflag of openssl to -bindist which changed the ABI of it. Now many programs gave the following error message:
Code: | OpenSSL version mismatch. Built against 10002003, you have 100010bf |
e.g
Code: | $ ssh foo@bar
OpenSSL version mismatch. Built against 10002003, you have 100010bf
|
I already tried revdep-rebuild, but it didn't find any packages to reemerge. Furthermore I tried manually reemerging ssh which also didn't help. How can I rebuild the programs relying on openssl to use the new ABI?
regards
Last edited by schmittlauch on Wed Jan 28, 2015 10:18 pm; edited 1 time in total |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Tue Jan 27, 2015 10:40 am Post subject: |
|
|
Code: | emerge --changed-use | you should look for |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Tue Jan 27, 2015 10:46 am Post subject: |
|
|
and Code: | emerge @preserved-rebuild |
If there are still problems, find the openssl "clients" with equery. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Tue Jan 27, 2015 12:36 pm Post subject: |
|
|
toralf wrote: | Code: | emerge --changed-use |
|
toralf ... that will only find those packages with the 'bindist' use change, not those packages built against openssl requiring a rebuild.
xaviermiller wrote: | Code: | emerge @preserved-rebuild |
|
@xaviermiller ... I'm not sure that will pick up anything because the soname will be the same.
xaviermiller wrote: | If there are still problems, find the openssl "clients" with equery. |
ummm ... the following should cover those packages with an explict +ssl. Though I'm confused, because the poster stated that openssh had been rebuilt but still recieved the warning, so ...
Code: | # emerge --ask --oneshot $(for p in $(equery -q hasuse ssl); do echo $p: $(equery -q uses $p) ; done | awk '/+ssl/{gsub(/:/,"") ; print "="$1}') |
best ... khay
edit: fixed
Last edited by khayyam on Tue Jan 27, 2015 1:06 pm; edited 1 time in total |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Tue Jan 27, 2015 1:05 pm Post subject: |
|
|
khayyam wrote: | toralf wrote: | Code: | emerge --changed-use |
|
toralf ... that will only find those packages with the 'bindist' use change, not those packages built against openssl requiring a rebuild.
best ... khay | *head smack* you're right |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Tue Jan 27, 2015 3:43 pm Post subject: |
|
|
You can use revdep-rebuild to fix this, but it will find only broken dynamic links by default and not ABI problems. So you have to explicitly pass the library that broke.
Code: | # revdep-rebuild --library libcrypto.so.1.0.0 |
|
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Wed Jan 28, 2015 9:19 pm Post subject: |
|
|
I don't know what got me thinking of using equery for the above, the following is probably far better:
Code: | # emerge --ask --oneshot $(eix '-I*' --installed-with-use ssl --format '=<installedversions:NAMEVERSION>') |
Though chithanh's use of '--library' is probably the simplest, and cleanest, method.
best ... khay |
|
Back to top |
|
|
schmittlauch n00b
Joined: 12 Sep 2014 Posts: 23
|
Posted: Wed Jan 28, 2015 9:50 pm Post subject: |
|
|
chithanh's idea worked. It rebuilt many packages, but now they're properly linked together. Thanks to everybody who gave me an advice.
Is there anything I have to do? Thank chithanh for his answer/give him credit, close the topic? |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Wed Jan 28, 2015 10:13 pm Post subject: |
|
|
schmittlauch wrote: | Is there anything I have to do? Thank chithanh for his answer/give him credit, close the topic? |
schmittlauch ... generally you would add "[SOLVED]" to the subject (edit the first post). Other than that nothing need be done, you've stated things are now fixed, thanked people, etc ... mark as [SOLVED] and we're done.
best ... khay |
|
Back to top |
|
|
|