On Wed, Aug 27, 2003 at 12:47:51PM -0400, Jerry McAllister wrote:
> > 
> > Firstly , excuse me for my bad english but I'm french student.
> > 
> > I am installing an web test server with a FreeBSD 4-4 distribution, i 
> > install Mysql 4.0.14 and apache 1.3.23 successfully , but when I add 
> > (with pkg_add) php4
> > apache doesn't want to run, and show this error
> > 
> > Syntax error on line 237 of /usr/local/etc/apache/httpd.conf: 
> > Cannot load /usr/local/libexec/apache/libphp4.so into server: 
> > /usr/local/libexec/apache/libphp4.so: Undefined symbol "nl_langinfo" 
> > 
> > I read the bug report http://www.freebsd.org/cgi/query-pr.cgi?pr=31806 
> > but, because i'm a beginner I had not understand the things to do.
> 
> Two things you need to do:
>   One, break you lines in your message at around 70 characters.  It
>   will make it much easier to respond from text based Email clients.
> 
>   Two, include in your message the contents of line 237 (plus maybe a
>   few lines before and a few after) from /usr/local/etc/apache/httpd.conf
>   Since that is what it is complaining about, it could be essential 
>   for diagnosing the problem.

Normally, yes.  But in this case, I think you'll find line 237 is
just where apache loads the libphp shared object.

The OP's problem is that they've got a mismatch between the gettext
shlib version on their system and the gettext shlib version that PHP
was compiled against.

If you've updated the gettext port recently, and have
/usr/local/lib/libintl.so.5 present on your system, then you also need
to recompile your PHP port so that it links against the new
libintl.so.5 library.  In fact, you would need to do that for every
binary that links against gettext, which is going to be a fair
fraction of all of the ports you've got installed.

See Joe Marcus Clarke's HEADS-UP and the resulting thread for one way
of doing that:

    http://freebsd.rambler.ru/bsdmail/freebsd-ports_curr/msg00009.html
    http://freebsd.rambler.ru/bsdmail/freebsd-ports_curr/msg00011.html

        Cheers,

        Matthew

-- 
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

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to