Geoffrey, you updated some symlinks in qt2-2.2.3-5mdk but there are
still 7 symlinks wrong. I include a patch to fix the spec file.
These links are wrong in /usr/lib:-
libqutil.so.1.O -> liqutil.so.1.0.0
libqutil.so.1 -> liqutil.so.1.0.0
libqutil.a -> libqutil.a
libqutil.so -> liqutil.so.1.0.0
libqxt.a -> libqxt.a
libqt.a -> libqt.a
libqt-mt.a -> libqt-mt.a
They should be:-
libqutil.so.1.0 -> libqutil.so.1.0.0
libqutil.so.1 -> libqutil.so.1.0.0
libqutil.so -> libqutil.so.1.0.0
libqutil.a -> qt2/lib/libqutil.a
libqxt.a -> qt2/lib/libqxt.a
libqt.a -> qt2/lib/libqt.a
libqt-mt.a -> qt2/lib/libqt-mt.a
This untested patch should fix the problems.
--------
diff -u qt2.spec.antorig qt2.spec
--- qt2.spec.antorig Thu Dec 21 14:19:19 2000
+++ qt2.spec Sat Dec 23 05:02:34 2000
@@ -300,9 +300,9 @@
ln -s libqt.so.%{version} libqt.so.2
ln -s libqt.so.%{version} libqt.so
ln -s libqt.so.%{version} libqt.so.2.2
- ln -s liqutil.so.1.0.0 libqutil.so.1
- ln -s liqutil.so.1.0.0 libqutil.so.1.O
- ln -s liqutil.so.1.0.0 libqutil.so
+ ln -s libqutil.so.1.0.0 libqutil.so.1
+ ln -s libqutil.so.1.0.0 libqutil.so.1.0
+ ln -s libqutil.so.1.0.0 libqutil.so
ln -s libqt-mt.so.%{version} libqt-mt.so.2
ln -s libqt-mt.so.%{version} libqt-mt.so
ln -s libqt-mt.so.%{version} libqt-mt.so.2.2
@@ -319,9 +319,9 @@
mkdir -p $RPM_BUILD_ROOT%{qtdir}/include
cp -fR include/. $RPM_BUILD_ROOT%{qtdir}/include
-( cd $RPM_BUILD_ROOT%{qtdir}/lib
+( cd $RPM_BUILD_ROOT%{_libdir}
for i in libqt.a libqt-mt.a libqutil.a libqxt.a;do
- ln -s $i ../../$i
+ ln -s qt2/lib/$i $i
done
)
--------
Antony Suter wrote:
>
> I compiled and installed qt2-2.2.3-4mdk.src.rpm, but several of the
> library links in /usr/lib were incorrect. Mainly links to
> libqutil.so.1.0.0, but some others as well. One link finished .O, not
> .0! Too many beverages that night Daouda? :)
>
> If it matters I compiled with gcc 2.95.2 and libraries from Mandrake
> 7.2.
--
- Antony Suter ([EMAIL PROTECTED]) "Examiner" openpgp:71ADFC87
- "...to condense fact from the vapor of nuance."