Hi Daniel, Daniel Holbach <[EMAIL PROTECTED]> wrote:
> Package: texlive-bin > Version: 2007-9 > Severity: important > Tags: patch > > Please build texlive-bin with -fPIC and add a libkpathsea4 Depends to > libkpathsea-dev. That the -dev package is missing a Depends on the library is a bug for sure. But I'm not sure about the rest, and the validity of the patch. First of all, TTBOMK there's no significant difference between kpathsea sources in tetex-bin (etch) and texlive-bin, and we didn't patch anything related to -fPIC in tetex-bin, nor use compiler flags. Second, the build log stops with:; *********************** cc -shared .libs/libevince_properties_page_la-ev-properties-main.o \ -Wl,--whole-archive \ [...] -lm -lkpathsea -pthread \ -Wl,--export-dynamic -pthread -pthread -Wl,-soname \ -Wl,libevince-properties-page.so -o .libs/libevince-properties-page.so /usr/bin/ld: /usr/lib/libkpathsea.a(tex-file.o): relocation R_X86_64_32S \ against `kpse_format_info' can not be used when making a shared object; \ recompile with -fPIC /usr/lib/libkpathsea.a: could not read symbols: Bad value *********************** Why does ld try to use libkpathsea.a for dynamic linking? Isn't that the real bug? Or ist that a fallback if the so symlink points to nothing? Finally, I don't think your patch will achieve anything: +CXXFLAGS += -fPIC +export CXXFLAGS because libkpathsea is not written in C++. Or will gcc used as C compiler honour CXXFLAGS? -- Dr. Frank Küster Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich Debian Developer (teTeX/TeXLive)