[kde-solaris] bz2/solaris 8/kde 3.1.rc6

Joshua Symons kde-solaris@mail.kde.org
Tue Jan 21 05:28:00 2003


Had the same issue in kde 3.1.rc2.
./configure in kdelibs will not recognize my bzip2 installation
the problem as far as i can tell is that I have two instances of
libbz2.so.1 on my system, one is the default with solaris installation
which looks like this:

nm libbz2.so.1 | grep bzDecompress
[160]   |     36724|     464|FUNC |GLOB |0    |9      |bzDecompress
[173]   |     37188|     172|FUNC |GLOB |0    |9      |bzDecompressEnd
[158]   |     32656|     232|FUNC |GLOB |0    |9      |bzDecompressInit
a
nd the other is the one i installed into a third party directory that I
normally use and looks like this:

nm libbz2.so.1 | grep bzDecompress
[137]   |     51904|     476|FUNC |GLOB |0    |7      |BZ2_bzDecompress
[142]   |     52380|     180|FUNC |GLOB |0    |7      |BZ2_bzDecompressEnd
[115]   |     47728|     252|FUNC |GLOB |0    |7      |BZ2_bzDecompressInit

I'm pretty sure that kdelibs wants the latter (prefix BZ2_) and not the
former, however even if I specify the extra libs to include the third
party directory, configure finds the /usr/lib first. The third party
directory $QTDIR/lib is in my LD_LIBRARY_PATH before /usr/lib but I
don't think configure cares. Anyone have an easy solution on how to get
around this? I can't overwrite /usr/lib due to lack of root power, so
that's not an option. Obviously I can't use help:// without it, so it
would be nice to get it working. Thx in adv.

Josh

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Joshua Symons &lt vmcore at mysun dot com &gt
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~