id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 2123,link against libexpat.a of graph lib fails on 64 bit Linux,michael.hufer@…,Douglas Gregor,"Error from build:[[BR]] --- [[BR]] bash> EXPAT_INCLUDE=/home/micha/external-builds/xgen-externals/install/Linux-x86_64/expat-2.0.1/include EXPAT_LIBPATH=/home/micha/external-builds/xgen-externals/install/Linux-x86_64/expat-2.0.1/lib make[[BR]] ./tools/jam/src/bin.linuxx86_64/bjam -sICU_PATH=/home/micha/external-builds/xgen-externals/install/Linux-x86_64/icu-3.8.1 --user-config=user-config.jam --without-python --without-mpi --without-test --without-wave[[BR]] Building Boost.Regex with Unicode/ICU support enabled[[BR]] Using ICU in /home/micha/external-builds/xgen-externals/install/Linux-x86_64/icu-3.8.1/include[[BR]] ...patience...[[BR]] ...patience...[[BR]] ...found 3188 targets...[[BR]] ...updating 1 target...[[BR]] gcc.link.dll bin.v2/libs/graph/build/gcc-4.3/release/threading-multi/libboost_graph-gcc43-mt-1_35.so.1.35.0 /usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: /home/micha/external-builds/xgen-externals/install/Linux-x86_64/expat-2.0.1/lib/libexpat.a(xmlparse.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC[[BR]] /home/micha/external-builds/xgen-externals/install/Linux-x86_64/expat-2.0.1/lib/libexpat.a: could not read symbols: Bad value[[BR]] collect2: ld returned 1 exit status[[BR]] [[BR]] ""g++"" -L""/home/micha/external-builds/xgen-externals/install/Linux-x86_64/expat-2.0.1/lib"" -o ""bin.v2/libs/graph/build/gcc-4.3/release/threading-multi/libboost_graph-gcc43-mt-1_35.so.1.35.0"" -Wl,-h -Wl,libboost_graph-gcc43-mt-1_35.so.1.35.0 -shared -Wl,--start-group ""bin.v2/libs/graph/build/gcc-4.3/release/threading-multi/read_graphviz_spirit.o"" ""bin.v2/libs/graph/build/gcc-4.3/release/threading-multi/graphml.o"" -Wl,-Bstatic -lexpat -Wl,-Bdynamic -lrt -Wl,--end-group -Wl,--strip-all -pthread [[BR]] ...failed gcc.link.dll[[BR]] bin.v2/libs/graph/build/gcc-4.3/release/threading-multi/libboost_graph-gcc43-mt-1_35.so.1.35.0...[[BR]] ...failed updating 1 target...[[BR]] Not all Boost libraries built properly.[[BR]] ---[[BR]] Build was with gcc 4.3 on OpenSuSE 11 (x86_64).[[BR]] The link error occurres with both the (native) expat lib from openSUSE and the expat lib I build myself (the example above tries to link against the latter) ",Bugs,closed,,graph,Boost 1.35.0,Problem,fixed,gcc-4.3 linux 64bit graph graphml expat,gcc Vladimir Prus