[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Difference in static and shared libraries for 0.11.5
From: |
Leonard R Smith II |
Subject: |
Difference in static and shared libraries for 0.11.5 |
Date: |
Sun, 3 Aug 2003 11:59:36 -0400 (EDT) |
I'm not sure if this is an expected difference or something wrong with my
compile of gettext and PHP but I ran into a difference between the static
and shared versions of the libintl.
I am compiling Horde-2.2.3, against PHP-4.3.2 with Gettext-0.11.5. The
compiles went through fine but when I went to run some horde php scripts I
received the following errror
[Sat Aug 2 11:53:59 2003] [error] PHP Fatal error: Call to undefined
function: bindtextdomain() in /opt/www/htdocs/horde-2.2.3/lib/Lang.php on
line 97
This is usually the result of gettext not being compiled into PHP,
however it was. I ran strings against libintl.a and the function
bindtextdomain was there. However it did not show up in libintl.so.2.2.0.
Instead the function was prefixed with libintl_ I modified the php scripts
to call the function with linintl_ prefixed and it went through fine.
I ran into this with the following three gettext functions:
bindtextdomain
textdomain
gettext
Is this correct for gettext and is this a Horde/PHP issues. Or is
this a known gettext configuration?
Thanks,
Len
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Difference in static and shared libraries for 0.11.5,
Leonard R Smith II <=