Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

libglib-2.0.so.0 -- Not found - Cannot emerge glib.

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
halloween
n00b
n00b
Posts: 3
Joined: Mon May 18, 2009 8:04 pm

libglib-2.0.so.0 -- Not found - Cannot emerge glib.

  • Quote

Post by halloween » Mon May 18, 2009 8:12 pm

Background: This is an entirely fresh installation of Gentoo. It has not even been booted into yet. (I've been installing from another host OS.) The kernel has been compiled, everything else is seemingly functioning just fine. I am able to emerge anything else I wish and compiling is smooth sailing with the exception of.....

I am unable to emerge glib as a dependency for syslog-ng. I have attached the error message and my make.conf for review.
http://pastebin.com/m38193d30

The following solutions have been tried:
Reinstalling from an autobuild instead of the 2008.0 stage 3 tarball. - No change.
Revdep-rebuild after a fresh portage sync. - No change.
emerge -uDN world && revdep-rebuild. - No change.
emerge gcc && revedep-rebuild. - No change.
Using the default gcc profile. - No change.
Using the 2008.0/desktop profile. - No change.
Installing with a 32-bit stage3 tarball instead of 64-bit. - No change.

libglib is not found in either /usr/lib/lib32 or /usr/lib/lib64.

Any help would be much appreciated.
Thanks in advance.
Top
VoidMage
Watchman
Watchman
User avatar
Posts: 6196
Joined: Sat Oct 14, 2006 8:43 am

  • Quote

Post by VoidMage » Mon May 18, 2009 8:58 pm

A bigger part of your build.log is required.
Top
halloween
n00b
n00b
Posts: 3
Joined: Mon May 18, 2009 8:04 pm

  • Quote

Post by halloween » Mon May 18, 2009 9:26 pm

Code: Select all

Making all in gobject
make[2]: Entering directory `/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/gobject'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS -DG_DISABLE_SINGLE_INCLUDES -pthread  -O2 -march=k8 -pipe -Wall -MT glib-genmarshal.o -MD -MP -MF .deps/glib-genmarshal.Tpo -c -o glib-genmarshal.o glib-genmarshal.c
mv -f .deps/glib-genmarshal.Tpo .deps/glib-genmarshal.Po
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -march=k8 -pipe -Wall  -Wl,-O1 -o glib-genmarshal glib-genmarshal.o ../glib/libglib-2.0.la 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -march=k8 -pipe -Wall -Wl,-O1 -o .libs/glib-genmarshal glib-genmarshal.o  ../glib/.libs/libglib-2.0.so
make glib-genmarshal
make[3]: Entering directory `/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/gobject'
make[3]: `glib-genmarshal' is up to date.
make[3]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/gobject'
echo "#ifndef __G_MARSHAL_H__" > xgen-gmh \
	&& echo "#define __G_MARSHAL_H__" >> xgen-gmh \
	&& ./glib-genmarshal --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list --header >> xgen-gmh \
	&& echo "#endif /* __G_MARSHAL_H__ */" >> xgen-gmh \
	&& (cmp -s xgen-gmh gmarshal.h 2>/dev/null || cp xgen-gmh gmarshal.h) \
	&& rm -f xgen-gmh xgen-gmh~ \
	&& echo timestamp > stamp-gmarshal.h
/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/gobject/.libs/glib-genmarshal: error while loading shared libraries: libglib-2.0.so.0: cannot open shared object file: No such file or directory
make[2]: *** [stamp-gmarshal.h] Error 127
make[2]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4/gobject'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.18.4-r1/work/glib-2.18.4'
make: *** [all] Error 2
 [31;01m*[0m 
 [31;01m*[0m ERROR: dev-libs/glib-2.18.4-r1 failed.
 [31;01m*[0m Call stack:
 [31;01m*[0m               ebuild.sh, line   48:  Called src_compile
 [31;01m*[0m             environment, line 2802:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       emake || die "make failed"
 [31;01m*[0m  The die message:
 [31;01m*[0m   make failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
 [31;01m*[0m A complete build log is located at '/var/tmp/portage/dev-libs/glib-2.18.4-r1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/glib-2.18.4-r1/temp/environment'.
 [31;01m*[0m 



If you need more, I'll post the entire build.log.
Top
halloween
n00b
n00b
Posts: 3
Joined: Mon May 18, 2009 8:04 pm

  • Quote

Post by halloween » Tue May 19, 2009 4:18 am

To add to possible solutions that have been tried, I attempted "-j1" in my make.conf without success.

Any help solving this strange one would be useful. After checking more than a few times and having installed at least 10 times in the past few days, I highly doubt its any kind of error caused by inexperience during the installation process.
Top
danomac
l33t
l33t
User avatar
Posts: 881
Joined: Sat Nov 06, 2004 6:30 am
Location: Vancouver, BC

  • Quote

Post by danomac » Mon Jun 08, 2009 6:57 pm

I just ran across this problem. Emerge an older version of glib first:

Code: Select all

$ emerge =dev-libs/glib-2.16.6-r1 && emerge glib
That worked for me.
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic