libcrypto.so.7 not found, needed (?) for X server
David Wolfskill
david at catwhisker.org
Tue Jan 19 13:18:51 UTC 2016
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20160119/e096dc00/attachment.sig>
More information about the freebsd-current
mailing list