no X11 after reboot :-(

Henry Hu henry.hu.sh at gmail.com
Wed May 13 06:06:22 UTC 2015


On Wed, May 13, 2015 at 1:35 PM Scott Bennett <bennett at sdf.org> wrote:

>      On Tue, 12 May 2015 13:36:05 +0200 Jan Bramkamp <crest at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"
>


More information about the freebsd-x11 mailing list