On Tue, Jul 16, 2019 at 12:38:40PM +0530, Nagasayanam,V.S wrote:
> Looking at my own logs for glib-2.58.3, I see a lot of moaning from
> meson, but it all installed ok. For glib itself (and similarly for
> several other libraries it installed) I have
>
> /usr/lib/libglib-2.0.so
> /usr/lib/libglib-2.0.so.0
> /usr/lib/libglib-2.0.so.0.5800.3
Your mailer is bad, it implies you wrote that. Also, although you
have trimmed the digest to the message of interest, you replied
above it (top posting). And technically this might be better asked
on blfs-support, although I'm not sure if that would get any other
replies. I put messages from both lists in the same mailbox, so I
did not notice earlier.
> Thank you for the reply. I got rid of error message from
> GObject-introspection which was pointing to previous glib version by
> modifying pkg-config file. However, compilation of GLib-2.58.3 was not
> successful in the sense that the third library file as mentioned by you was
> not found.
> Can you please help again?
> Thanks in advance.
> V S Nagasayanam
>
By the third library file you mean the .5800.3 (and that is why top
posting is such an annoyance, I had to scroll down deleting things
until I found this part) :
> >
> > /usr/lib/libglib-2.0.so
> > /usr/lib/libglib-2.0.so.0
> > /usr/lib/libglib-2.0.so.0.5800.3
> >
Two suggestions to help you find out what is going wrong:
1. Use a DESTDIR for the install, e.g. /tmp/GLIB, so that you can
run the install command without updating the system.
2. Log the output of each stage of the build (meson, ninja, the
install) along with error messages. e.g.
meson --prefix=/usr [etc] 2>&1 | tee conflog
ninja -v 2>&1 | tee buildlog
DESTDIR=/tmp/GLIB ninja -v install 2>&1 | tee instlog
I have no idea what might be useful in the logs, most of it looks
irrelevant. When I was building 2.58.3 I just used 'ninja' for the
build and install. Since then I've needed to confirm if it is using
the CFLAGS I've been experimenting with, so I use 'ninja -v'. I
have not needed to use that for the install, but I think it might
give extra information.
In my own log the install phase started
[0/1] Installing files.
Installing glib/libglib-2.0.so.0.5800.3 to /usr/lib
Installing glib/gtester to /usr/bin
Installing gobject/libgobject-2.0.so.0.5800.3 to /usr/lib
Installing gobject/gobject-query to /usr/bin
Installing gthread/libgthread-2.0.so.0.5800.3 to /usr/lib
Installing gmodule/libgmodule-2.0.so.0.5800.3 to /usr/lib
Installing gio/gio-launch-desktop to /usr/bin
Installing gio/gioenumtypes.h to /usr/include/glib-2.0/gio
Installing gio/libgio-2.0.so.0.5800.3 to /usr/lib
Perhaps using -v in the install will show more details.
With luck, you will find some error messages in the install, or else
in the build. Or perhaps the libraries will get installed to the
DESTDIR this time.
The full set of .so.0.5800.3 libraries shown in that block are all
needed, together with the symlinks:
-2.0.so -> .so.0
-2.0.so.0 -> .so.0.5800.3
Normally, wearing my "cares a little about security" hat, on BLFS I
would recommend updating glib to 2.60.4 or later to fix:
* File system permissions fix to clamp down permissions in a small
time window when copying files (CVE-2019-12450, !876)
But I have not yet done that on my own systems so I don't know if it
will build with your version of meson. And in any case your problem
seems to be unusual so the newer version might also not work. If
you want a link, look at the svn book.
ĸen
--
One pill makes you larger, And one pill makes you small.
And the ones that mother gives you, Don't do anything at all.
Go ask Alice, When she's ten feet tall.
-- Jefferson Airplane, White Rabbit
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style