Subject: Re: x11-links on SPARC Solaris 10
To: Jeremy C. Reed <reed@reedmedia.net>
From: Raymond Meyer <raymond.meyer@rambler.ru>
List: pkgsrc-users
Date: 06/03/2007 07:25:41
* "Jeremy C. Reed" <reed@reedmedia.net> [Sat, 2 Jun 2007 08:21:03 -0500
(CDT)]:
> On Sat, 2 Jun 2007, Raymond Meyer wrote:
>
> > Hi, the package that creates x11-links on SPARC Solaris does not
> include all
> > the necessary links. I was compiling x11/kdebase3 and it failed with
> the
> > following error:
> >
> > ld: fatal: library -lXau: not found
> > ld: fatal: File processing errors. No output written to
> > .libs/libkdeinit_ksmserver.so
> > collect2: ld returned 1 exit status
> > gmake[3]: *** [libkdeinit_ksmserver.la] Error 1
> > gmake[3]: Leaving directory
> > `/opt/pkg.obj/x11/kdebase3/work.ultra10/kdebase-3.5.7/ksmserver'
> >
> > I looked under /opt/pkg/share/x11-links/lib and there were no
symbolic
> links
> > to /usr/openwin/lib/libXau.so files.
> >
> > So creating symbolic links by hand to /usr/openwin/lib/{libXau.so,
> > libXau.so.6} under
> >
> > /opt/pkg/share/x11-links/lib
> > /opt/pkg.obj/x11/kdebase3/work.ultra10/.buildlink/lib
> >
> > fixed the compilation problem.
>
> I am just guessing ... but maybe you installed the x11-links package
> from
> somewhere that didn't have libXau so link didn't exist or maybe it was
> installed previously to installing libXau.
>
> Can you try uninstalling x11-links package, doing a "make clean" in
> pkgtools/x11-links and reinstalling it?
>
Just done that and the same problem is still present.
Below the list of files which are prefixed by + are missing symlinks
under /opt/pkg/share/x11-links/lib
cd /opt/pkg/share/x11-links/lib
ls lib*\.so\.* > /tmp/x11-links.out
cd /usr/openwin/lib
ls lib*\.so\.* > /tmp/openwin-lib.out
diff -u /tmp/x11-links.out /tmp/openwin-lib.out
--- /tmp/x11-links.out Sun Jun 3 04:17:49 2007
+++ /tmp/openwin-lib.out Sun Jun 3 04:18:45 2007
@@ -1,12 +1,19 @@
libFS.so.5
+libGL.so.1
+libGLU.so.1
+libGLw.so.1
+libGLw.so.2
libICE.so.6
libSM.so.6
libX.so.4
libX11.so.4
libXIE.so.6
+libXau.so.6
libXaw.so.4
libXaw.so.5
+libXdmcp.so.6
libXext.so.0
+libXft.so.2
libXi.so.5
libXinput.so.0
libXmu.so.4
@@ -14,7 +21,9 @@
libXp.so.1
libXpm.so.4
libXpm.so.4.11
+libXst.so.1
libXt.so.4
+libXtsol.so.1
libXtst.so.1
libce.so.0
libdeskset.so.0