Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105418 - tetex doesn't build shared version of libkpathsea
Summary: tetex doesn't build shared version of libkpathsea
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks: 105084
  Show dependency tree
 
Reported: 2005-09-09 12:57 UTC by Daniel Gryniewicz (RETIRED)
Modified: 2005-10-15 10:14 UTC (History)
2 users (show)

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


Attachments
Patch to make shared libkpathsea (tetex-3.0-kpathsea-pic.patch,1.55 KB, patch)
2005-09-09 12:59 UTC, Daniel Gryniewicz (RETIRED)
Details | Diff
build log (8378-tetex-3.0-r3.log.gz,240.77 KB, application/octet-stream)
2005-10-15 10:14 UTC, Sandro Bonazzola (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Gryniewicz (RETIRED) gentoo-dev 2005-09-09 12:57:11 UTC
Assorted packages, most notably evince, need a shared version of libkpathsea,
installed by tetex.  The reason that a shared version of libkpathsea isn't
installed is that tetex uses it's own libtool, rather than the standard libtool.  

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-09-09 12:59:10 UTC
Created attachment 68059 [details, diff]
Patch to make shared libkpathsea

Here is a patch to tetex to make a shared libkpathsea by using the stock
libtool, rather than the one local to tetex.  I've tested this locally, and it
works fine, and enables evince to use the resulting shared lib.
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-09-13 11:52:49 UTC
Fixed in CVS.
Comment 3 Sandro Bonazzola (RETIRED) gentoo-dev 2005-10-15 10:12:12 UTC
Please reopen this bug, it's not completely fixed.
upgrading from tetex-3.0-r2 to tetex-3.0-r3 I've seen a strange error about
error during installation, skipping.

cd /var/log/portage && grep error 8378-tetex-3.0-r3.log

shows some lines like:
kpsewhich: error while loading shared libraries: libkpathsea.so.4: cannot open
shared object file: No such file or directory

libkpathsea.so.4 seems to be a symlink to libkpathsea.so.4.0.0, but it seems to
be created only after the error occurred.

I'll attach the full log of this emerge.

If I reemerge tetex-3.0-r3 the error is not present because this second time
libkpathsea.so.4 is already installed in my system.
But at the first run libkpathsea.so.4 is not found.
Something like this appened with gettext-0.12 to 0.14 upgrade. The library path
should be updated in order to find libkpathsea.so.4 during the installation.
Comment 4 Sandro Bonazzola (RETIRED) gentoo-dev 2005-10-15 10:14:54 UTC
Created attachment 70741 [details]
build log

complete build log