__stderrp problem after 4.8 binary upgrade

Richard Tobin richard at cogsci.ed.ac.uk
Sun Apr 6 17:49:35 PDT 2003

I just updated a 4.7 system to 4.8 using the binary upgrade from CD.

Now emacs reports

  /usr/libexec/ld-elf.so.1: /usr/lib/libm.so.2: Undefined symbol "__stderrp"

Emacs is emacs 20.3 from the packages:

  emacs-20.3          GNU editing macros.

I have read the message in /usr/src/UPDATING:

   The definitions of the standard file streams (stdin, 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).

But I selected all the compatibility libraries when installing,
and it works if I do

  LD_LIBRARY_PATH=/usr/lib/compat emacs

Ldconfig -r says:

  search directories: /usr/lib:/usr/lib/compat:/usr/X11R6/lib:/usr/local/lib:/usr/local/lib/compat/pkg

What did I do wrong?

-- Richard

More information about the freebsd-questions mailing list