Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 206536

Summary: dev-libs/rasqal-0.9.14 fails to compile
Product: Gentoo Linux Reporter: Daniel Klaffenbach <danielklaffenbach>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Klaffenbach 2008-01-18 16:23:24 UTC
Emerging rasqal-0.9.14 fails with the following error:

make[1]: Entering directory `/var/tmp/portage/dev-libs/rasqal-0.9.14/work/rasqal-0.9.14/utils'
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../src  -march=athlon64 -msse3 -O2 -pipe -I../src  -DRASQAL_INTERNAL=1   -march=athlon64 -msse3 -O2 -pipe -MT roqet.o -MD -MP -MF ".deps/roqet.Tpo" -c -o roqet.o roqet.c; \
        then mv -f ".deps/roqet.Tpo" ".deps/roqet.Po"; else rm -f ".deps/roqet.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc  -march=athlon64 -msse3 -O2 -pipe   -o roqet  roqet.o  ../src/librasqal.la -L/usr/lib64 -lraptor -L/usr/lib64 -lpcre
mkdir .libs
x86_64-pc-linux-gnu-gcc -march=athlon64 -msse3 -O2 -pipe -o .libs/roqet roqet.o  ../src/.libs/librasqal.so -L/usr/lib64 /usr/lib64/libraptor.so /usr/lib64/libpcre.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libexpat.so.0, needed by /usr/lib64/libraptor.so, not found (try using -rpath or -rpath-link)
/usr/lib64/libraptor.so: undefined reference to `XML_ParserCreate'
/usr/lib64/libraptor.so: undefined reference to `XML_GetErrorCode'
/usr/lib64/libraptor.so: undefined reference to `XML_SetUserData'
/usr/lib64/libraptor.so: undefined reference to `XML_GetCurrentColumnNumber'
/usr/lib64/libraptor.so: undefined reference to `XML_SetExternalEntityRefHandler'
/usr/lib64/libraptor.so: undefined reference to `XML_GetCurrentLineNumber'
/usr/lib64/libraptor.so: undefined reference to `XML_SetCommentHandler'
/usr/lib64/libraptor.so: undefined reference to `XML_SetBase'
/usr/lib64/libraptor.so: undefined reference to `XML_ErrorString'
/usr/lib64/libraptor.so: undefined reference to `XML_ParserFree'
/usr/lib64/libraptor.so: undefined reference to `XML_SetElementHandler'
/usr/lib64/libraptor.so: undefined reference to `XML_Parse'
/usr/lib64/libraptor.so: undefined reference to `XML_GetCurrentByteIndex'
/usr/lib64/libraptor.so: undefined reference to `XML_SetCharacterDataHandler'
/usr/lib64/libraptor.so: undefined reference to `XML_SetUnparsedEntityDeclHandler'
collect2: ld returned 1 exit status
make[1]: *** [roqet] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/rasqal-0.9.14/work/rasqal-0.9.14/utils'
make: *** [all-recursive] Fehler 1
 *
 * ERROR: dev-libs/rasqal-0.9.14 failed.
 * Call stack:
 *              ebuild.sh, line 1701:  Called dyn_compile
 *              ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *              ebuild.sh, line   44:  Called src_compile
 *   rasqal-0.9.14.ebuild, line   39:  Called die
 * The specific snippet of code:
 *      emake || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/rasqal-0.9.14/temp/build.log'.

dev-libs/expat-2.0.1 was installed correctly. For some reason there is no libexpat.so.0 on my system. After sym-linking libexpat.so to libexpat.so.0 it compiled correctly.

Reproducible: Always

Steps to Reproduce:
1. emerge expat
2. echo dev-libs/rasqal >> /etc/portage/package.keywords
3. emerge rasqal -> doesn't work

4. ln -s /lib64/libexpat.so /lib64/libexpat.so.0
5. emerge rasqal -> works
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-18 16:39:36 UTC

*** This bug has been marked as a duplicate of bug 128069 ***