-------- Original-Message --------
Date: Tue, 18 Jul 2006 09:24:28 +0200
From: Joerg Schilling <[EMAIL PROTECTED]>
To: opensolaris-discuss@opensolaris.org, [EMAIL PROTECTED]
Subject: Re: [osol-discuss] cdrecord execution problems

> gary jones <[EMAIL PROTECTED]> wrote:
> 
> > Hi,
> > I have installed the cdrecord software on a SunOS solaris 8 system but
> when I try to run it I get the following error.
> >
> > ld.so.1: /opt/sfw/bin/cdrecord: fatal: relocation error: file
> /opt/sfw/bin/cdrecord: symbol priocntl: reference symbol not found 
> > Killed
> 
> Did you install glibc?
> 
> Jörg



Since when would a modern 2.x _g_libc compile on or for Solaris?

Nope, neither sparc (nor x86/x64) :

bash-3.00# ./configure
configure: error: you must configure in a separate build directory
bash-3.00# pwd
/tmp/test/glibc-2.4
bash-3.00# cd ..
bash-3.00# mkdir build
bash-3.00# cd build
bash-3.00# ../glibc-2.4/configure
checking build system type... sparc-sun-solaris2.11
checking host system type... sparc-sun-solaris2.11
configure: running configure fragment for add-on nptl
*** The GNU C library is currently not available for this platform.
*** So far nobody cared to port it and if there is no volunteer it
*** might never happen.  So, if you have interest to see glibc on
*** this platform visit
***     http://www.gnu.org/software/libc/porting.html
*** and join the group of porters
bash-3.00# uname -a
SunOS mb1x-ws1 5.11 snv_41 sun4u sparc SUNW,Sun-Fire-280R
bash-3.00# date
Tue Jul 18 13:06:33 MEST 2006
bash-3.00#
bash-3.00# cd ..
bash-3.00# find .|grep SunOS
bash-3.00# find .|grep sunos
bash-3.00# find .|grep Solari
bash-3.00# find .|grep solari
bash-3.00# find .|grep linux | wc -l
    1529
bash-3.00#


@Gary Jones:
Just a complete Solaris 8 install should do it, with no libc* files deleted or 
non-installed I mean:

http://public.planetmirror.com/pub/cdrecord/?fl=c

"Cdrecord runs without problems on a loaded Solaris system. On Solaris, 
cdrecord uses the SVr4 priocntl() call to establish SVr4 real-time scheduling 
which grants to run cdrecord in a even higher priority than all kernel 
processes. On system that provide POSIX real-time scheduling the result may be 
slightly worse as not all POSIX RT implementations grant decent real time 
behaviour."


Verification on a sb2k running Solaris 2.10_FCS (oldest Solaris I have actually 
currently running) :

bash-3.1$ strings /lib/libc* | grep priocntl
__priocntl
priocntl
priocntlset
_private_priocntl
__priocntl
priocntl
priocntlset
_private_priocntl
bash-3.1$ uname -a
SunOS mb1x-ws0 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000
bash-3.1$


    marTin
www.martux.org

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to