On Sat, Jan 11, 2003 at 12:01:44PM -0600, Jack L. Stone wrote:
> At 05:44 PM 1.11.2003 +0000, Matthew Seaman wrote:
> >On Sat, Jan 11, 2003 at 11:31:22AM -0600, Jack L. Stone wrote:
> >> I just updated from FBSD-4.5 to 4.7 on a server running apache_fp.1.26. The
> >> update somehow has broken the FP extensions (ugh!). I have tried a number
> >> of fixes, including portupgrade, but get a checksum error there. Have tried
> >> to rerun the present install of FP using fp_install.sh, but get this error:
> >> Who should own web root web on port 80 [www]:  
> >> What should the group for web root web on port 80 be [www]:  
> >> /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderrp"
> >> ERROR: Unable to chown web root web in port 80
> >> Hit enter to continue
> >> 
> >> I'm also seeing the "__stderrp" error in my httpd-error.log whenever I try
> >> to login to FP. So, something has changed in the FBSD-4.5-4.7 update and
> >> I've never seen this error, so don't know what needs to be fixed. I have
> >> another server running apache_fp.1.27 on FBSD.4.7 just fine.
> >> 
> >> It's looking like an uninstall/reinstall completely for apache+fp....
> >> didn't want to have to do that on a box with a bunch of virtual hosts.....
> >> 
> >> Has anyone seen the above problem on similar installs...???
> >
> >/usr/src/UPDATING says:
> >
> >20021110:
> >        The definitions of the standard file streams (stdio, stdout, and
> >        stderr) have changed so that they are no longer compile-time 
> >        constants.  Some older binaries may require updated 3.X 
> >        compatability libraries (for example, by setting COMPAT3X=yes 
> >        for a buildworld/installworld).
> >
> >Alternatively to doing a buildworld with COMPAT3X=yes, you could
> >install the misc/compat3x port.

> Good grief! I read the UPDATING as always, but this one did NOT sink
> in....! Thank you so much for pointing me in the right direction before I
> shot myself in the foot....
> If I go the misc/compat3x port route, I assume I need to redo the
> buildword....?? If so, then I might as well include the COMPAT3X=yes in the
> make.conf.

All that setting COMPAT3X=yes does is cause the buildworld process to
uudecode and install some precompiled copies of FreeBSD-3.x shared
libraries --- see /usr/src/lib/compat/compat3x.i386 for what's
available.  Those libraries were originally just copied off a 3.x
machine, but since then kernel changes in 4.x or 5.0 have meant that
certain changes have had to be back ported to RELENG_3 in order to
maintain compatibility between the 3.x shlibs and the kernel.

Supplying those libraries by installing the port achieves exactly the
same effect, but quicker.  However, the choice is entirely up to you.
In the long run, putting COMPAT3X into /etc/make.conf would be my
choice, as my regular schedule of buildworlds would ensure everything
was up to date.

Once the 3.x shlibs are in place, the binary frontpage binary supplied
with the apache-fp port should pick them up OK.  The interface between
the 3.x shlibs and any applications linked to them should remain
exactly the same.



Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to