Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2015 06:06:20 +0000
From:      Henry Hu <henry.hu.sh@gmail.com>
To:        Scott Bennett <bennett@sdf.org>, Jan Bramkamp <crest@rlwinm.de>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: no X11 after reboot :-(
Message-ID:  <CAEJt7hYFrr_hHQkGcUOC%2B-b%2BPH3q03x-77yvNNKkzcu=eGh9Fg@mail.gmail.com>
In-Reply-To: <201505130535.t4D5Zb1D003715@sdf.org>
References:  <mailman.21.1431432000.90817.freebsd-x11@freebsd.org> <201505130535.t4D5Zb1D003715@sdf.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 13, 2015 at 1:35 PM Scott Bennett <bennett@sdf.org> wrote:

>      On Tue, 12 May 2015 13:36:05 +0200 Jan Bramkamp <crest@rlwinm.de>
> wrote:
> > On 12/05/15 08:53, Scott Bennett wrote:
> > >       A week ago, after my system had been up for a few weeks, I shut
> it
> > > down and then rebooted it, after which X11 can't seem to get going.
> The
> > > Xorg.0.log ends with
> > > [ log file removed ]
> > > Initializing built-in extension DRI2
> > > Loading extension GLX
> > > Loading extension NV-GLX
> > > Loading extension NV-CONTROL
> > > Loading extension XINERAMA
> > > /usr/lib/libgomp.so.1: version OMP_3.0 required by
> /usr/local/lib/libMagickCore-6.so.2 not found
> > > xinit: connection to X server lost
> > >
> > > waiting for X server to shut down (EE) Server terminated successfully
> (0). Closing log file.
> > >
> > > [hellas] 185 %
> > >
> > >       What is OMP?  And why does the X server care about what
> libMagickCore*
> > > wants in order to start up successfully?  And how do I *fix* this?
> Being
> > > limited to a console and virtual consoles (and window(1), thank
> goodness!)
> > > for the past week has been quite aggravating.
> > >       Many thanks in advance to anyone who can show me the way around
> this
> > > situation!
> >
> > This looks like a broken dependency on a shared lib. The proper fix is
>
>      But why is a base system library (/usr/lib/libgomp.so.1) issuing a
> message about what something in /usr/local/lib wants?  And, I repeat, why
> does the X server care about libMagickCore* when it is starting up?  Why
> cannot the server run without it?
>
You read it wrong,  the message means that /usr/lib/libgomp.so.1 does not
satisfy the requirements of /usr/local/lib/libMagickCore-6.so.2.
I've just checked that mine does not have that tag also, but libgomp.so in
/usr/local/lib/gcc48 has that tag. Maybe you need to install some version
of gcc to get the runtime library.
Interestingly, on my machine libMagickCore does not depend on gcc's
libraries.
 Do you have option "OPENMP" enabled for ImageMagick port?

It's possible that X server started, but the session fails to start. X
terminates after the session terminates.

>
> > to install compatible versions of all executables and shared libs.
> > Upgrade your system for packages or ports like usual. Run pkg check -B
>
>      Well, that is a bit of a problem for me at the moment because the
> /var/db/pkg/local.sqlite file on my system has somehow become corrupted,
> and I have not been able so far to find a way to fix it or to rebuild it
> without the corruption.  (See my posts in freebsd-ports@ in the last 30
> hours or so.)  Running pkg check -B against the existing local.sqlite
> didn't turn up a problem with libMagickCore* stuff, nor would it likely
> find anything regarding a base system library.
>
> > afterward (or install sysutils/bsdadminscripts and use pkg_libchk for
> > more details). If the upgrade did not fix your problem query pkgng for
> > for affected files (the executable and shared lib) e.g. pkg which $path.
> >
>      Thanks for your suggestions.  If I can find a way to fix the package
> data base corruption, I will attempt to run "portmaster -a" again, but I
> don't see how that will fix a mismatch between the base system and ports.
> Port distfiles are supposed to match the major releases of FreeBSD, right?
>
>
>                                   Scott Bennett, Comm. ASMELG, CFIAG
> **********************************************************************
> * Internet:   bennett at sdf.org   *xor*   bennett at freeshell.org  *
> *--------------------------------------------------------------------*
> * "A well regulated and disciplined militia, is at all times a good  *
> * objection to the introduction of that bane of all free governments *
> * -- a standing army."                                               *
> *    -- Gov. John Hancock, New York Journal, 28 January 1790         *
> **********************************************************************
> _______________________________________________
> freebsd-x11@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEJt7hYFrr_hHQkGcUOC%2B-b%2BPH3q03x-77yvNNKkzcu=eGh9Fg>