Re: libcrypto.so.7 not found, needed (?) for X server

From: David Wolfskill <david_at_catwhisker.org>
Date: Tue, 19 Jan 2016 05:18:44 -0800
On Tue, Jan 19, 2016 at 12:44:16PM +0000, Thomas Mueller wrote:
> I just updated FreeBSD-current to r294248, and can no longer startx.
> 
> Error message is
> 
> xauth:  file /home/arlene/.serverauth.1177 does not exist
> 
> Shared object "libcrypto.so.7" not found, required by "X"
> xinit: giving up
> xinit: unable to connect to X server: Connection refused
> xinit: server error
> 
> There is /usr/lib/libcrypto.so but notlibcrypto.so.7.
> ....

On my laptop, in the "head" environment, I have:

g1-252(10.3-P)[1] cd /S4
g1-252(10.3-P)[2] ls -ltrT usr/lib/libcrypto*
-r--r--r--  1 root  wheel  4281880 Dec 28 05:50:18 2015 usr/lib/libcrypto.a
-r--r--r--  1 root  wheel  4531590 Dec 28 05:50:18 2015 usr/lib/libcrypto_p.a
lrwxr-xr-x  1 root  wheel       24 Jan 19 05:02:24 2016 usr/lib/libcrypto.so -> ../../lib/libcrypto.so.8
g1-252(10.3-P)[3] 

But I normally run -- and biuld my ports  -- in a stable/10 environment,
so:

g1-252(10.3-P)[1] ldd `which X` | grep crypto
        libcrypto.so.7 => /lib/libcrypto.so.7 (0x800c84000)
g1-252(10.3-P)[2] ls -ltrT /lib/libcrypto*
-r--r--r--  1 root  wheel  2039072 Jan 19 04:28:19 2016 /lib/libcrypto.so.7
g1-252(10.3-P)[3] ls -ltrT /usr/lib/libcrypto*
-r--r--r--  1 root  wheel  3927330 Dec  4 04:36:08 2015 /usr/lib/libcrypto.a
-r--r--r--  1 root  wheel  4158890 Dec  4 04:36:08 2015 /usr/lib/libcrypto_p.a
lrwxr-xr-x  1 root  wheel       19 Jan 19 04:28:19 2016 /usr/lib/libcrypto.so -> /lib/libcrypto.so.7
g1-252(10.3-P)[4] 

Finally, something that you may find useful in all this nattering:

g1-252(10.3-P)[4] pkg which /usr/local/lib/compat/libcrypto.so.7 
/usr/local/lib/compat/libcrypto.so.7 was installed by package compat10x-amd64-10.2.1002000.20151116
g1-252(10.3-P)[5] pkg info -o compat10x-amd64-10.2.1002000.20151116
compat10x-amd64-10.2.1002000.20151116 misc/compat10x
g1-252(10.3-P)[6] 

That is, it looks as if you're trying to run X built under stable/10
while you're running head.  You will almost certainly want to install
misc/compat10x.

Alternatively, delete & re-build/install all ports/packages under head.

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Those who would murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Tue Jan 19 2016 - 12:18:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:02 UTC