Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382369 - dev-libs/libmpc - cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
Summary: dev-libs/libmpc - cc1: error while loading shared libraries: libmpc.so.2: can...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-09 10:31 UTC by jez austin
Modified: 2011-09-09 16:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jez austin 2011-09-09 10:31:47 UTC
compile phase failure. From config.log:

[code]gcc version 4.5.3 (Gentoo 4.5.3-r1 p1.0, pie-0.4.5) 
configure:3151: $? = 0
configure:3140: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: '-V' option must have argument
configure:3151: $? = 1
configure:3140: x86_64-pc-linux-gnu-gcc -qversion >&5
x86_64-pc-linux-gnu-gcc: unrecognized option '-qversion'
x86_64-pc-linux-gnu-gcc: no input files
configure:3151: $? = 1
configure:3171: checking whether the C compiler works
configure:3193: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -ggdb  -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common conftest.c  >&5
/usr/libexec/gcc/x86_64-pc-linux-gnu/4.5.3/cc1: error while loading shared libraries: libmpc.so.2: cannot open shared object file: No such file or directory
configure:3197: $? = 1
configure:3235: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmpdclient"
| #define PACKAGE_TARNAME "libmpdclient"
| #define PACKAGE_VERSION "2.4"
| #define PACKAGE_STRING "libmpdclient 2.4"
| #define PACKAGE_BUGREPORT "musicpd-dev-team@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define PACKAGE "libmpdclient"
| #define VERSION "2.4"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3240: error: in `/var/tmp/portage/media-libs/libmpdclient-2.4/work/libmpdclient-2.4':
configure:3242: error: C compiler cannot create executables
See `config.log' for more details[/code]


Reproducible: Always

Steps to Reproduce:
1. emerge libmpdclient
2.
3.
Comment 1 jez austin 2011-09-09 10:33:29 UTC
http://forums.gentoo.org/viewtopic-t-893652.html
Comment 2 jez austin 2011-09-09 16:15:19 UTC
There's nothing wrong with this ebuild: the problem was a missing dev-libs/mpc.