i took out "-ludmsearch" from LIBS. recompiled:
...
gmake[1]: Entering directory
`/home/staffs/t/tom/work/php/php4-current/php4'
/bin/sh /home/staffs/t/tom/work/php/php4-current/php4/libtool --silent
--mode=compile gcc -I. -I
/home/staffs/t/tom/work/php/php4-current/php4/
-I/home/staffs/t/tom/work/php/php4-current/php4/ma
in -I/home/staffs/t/tom/work/php/php4-current/php4
-I/usr/pkg/include/httpd -I/home/staffs/t/tom/
work/php/php4-current/php4/Zend -I/usr/pkg/include/freetype
-I/usr/pkg/include -I/usr/local/inclu
de -I/usr/local/include/mysql -I/usr/local/install/Sablot-0.44/include
-I/home/staffs/t/tom/work/
php/php4-current/php4/ext/xml/expat/xmltok
-I/home/staffs/t/tom/work/php/php4-current/php4/ext/xm
l/expat/xmlparse -I/home/staffs/t/tom/work/php/php4-current/php4/TSRM
-DNETBSD -DEAPI -DUSE_EXPA
T -I/usr/pkg/include -DXML_BYTE_ORDER=12 -g -O2 -c stub.c
/bin/sh /home/staffs/t/tom/work/php/php4-current/php4/libtool --silent
--mode=link gcc -I. -I/ho
me/staffs/t/tom/work/php/php4-current/php4/
-I/home/staffs/t/tom/work/php/php4-current/php4/main
-I/home/staffs/t/tom/work/php/php4-current/php4
-I/usr/pkg/include/httpd -I/home/staffs/t/tom/wor
k/php/php4-current/php4/Zend -I/usr/pkg/include/freetype
-I/usr/pkg/include -I/usr/local/include
-I/usr/local/include/mysql -I/usr/local/install/Sablot-0.44/include
-I/home/staffs/t/tom/work/php
/php4-current/php4/ext/xml/expat/xmltok
-I/home/staffs/t/tom/work/php/php4-current/php4/ext/xml/e
xpat/xmlparse -I/home/staffs/t/tom/work/php/php4-current/php4/TSRM
-DNETBSD -DEAPI -DUSE_EXPAT -
I/usr/pkg/include -DXML_BYTE_ORDER=12 -g -O2 -Wl,-export-dynamic
-Wl,-R/usr/lib -L/usr/lib -Wl,-
R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/local/lib -L/usr/local/lib
-Wl,-R/usr/X11R6/lib -L/usr/X1
1R6/lib -o libphp4.la -rpath
/home/staffs/t/tom/work/php/php4-current/php4/libs -avoid-version -L
/usr/pkg/lib -L/usr/local/install/pgsql-current/lib
-L/usr/local/install/mnogosearch-3.1.9/lib -L
/usr/local/lib/mysql -L/usr/local/lib
-L/usr/local/install/Sablot-0.44/lib -Wl,-export-dynamic -W
l,-R/usr/lib -L/usr/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
-Wl,-R/usr/local/lib -L/usr/local/lib -
Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -R /usr/pkg/lib -R
/usr/local/install/pgsql-current/lib -R /
usr/local/install/mnogosearch-3.1.9/lib -R /usr/local/lib/mysql -R
/usr/local/lib -R /usr/local/i
nstall/Sablot-0.44/lib stub.lo Zend/libZend.la sapi/apache/libsapi.la
main/libmain.la ext/gd/li
bgd.la ext/mnogosearch/libmnogosearch.la ext/mysql/libmysql.la
ext/pcre/libpcre.la ext/pgsql/libp
gsql.la ext/posix/libposix.la ext/sablot/libsablot.la
ext/session/libsession.la ext/sockets/libso
ckets.la ext/standard/libstandard.la ext/sysvsem/libsysvsem.la
ext/sysvshm/libsysvshm.la ext/xml/
libxml.la ext/zlib/libzlib.la TSRM/libtsrm.la -lz -lxmltok -lxmlparse
-lsablot -lpq -lmysqlclient
-ludmsearch -lpq -lcrypt -lttf -lpng -lz -lgd -lresolv -lm -lcrypt
-lgd -lpng -lz -lm -lc -lpng
-ljpeg -lz -lttf -lintl -lXpm -lX11 -lresolv -lgcc
*** Warning: This library needs some functionality provided by
-ludmsearch.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lgcc.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by
-ludmsearch.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** Warning: This library needs some functionality provided by -lgcc.
*** I have the capability to make that library automatically link in
when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
gmake[1]: Leaving directory
`/home/staffs/t/tom/work/php/php4-current/php4'
Making all in pear
gmake[1]: Entering directory
`/home/staffs/t/tom/work/php/php4-current/php4/pear'
gmake[1]: Leaving directory
`/home/staffs/t/tom/work/php/php4-current/php4/pear'
# cd .libs
# ls
libphp4.la libphp4.lai libphp4.so
# ls -l
total 4178
lrwxr-xr-x 1 root users 13 Feb 2 00:11 libphp4.la ->
../libphp4.la
-rw-r--r-- 1 root users 1447 Feb 2 00:11 libphp4.lai
-rwxr-xr-x 1 root users 4266206 Feb 2 00:11 libphp4.so
# nm *.so | grep Udm
U UdmAllocAgent
U UdmAllocEnv
U UdmDBErrorCode
U UdmDBErrorMsg
U UdmEnvSetDBAddr
U UdmEnvSetDBMode
U UdmFind
U UdmFreeAgent
U UdmFreeResult
U UdmGetCharset
U UdmInit
those functions are still Undefined. for some reason the warnings seem
ti indicate that it's looking for a shared libudmsearch.so?
--- Sergey Kartashoff <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Friday, February 02, 2001, 7:44:11 AM, you wrote:
>
> CTW> i just recompiled the Apache 1.3.12 PHP module with PHP from CVS
> as of
> CTW> today. it was compiled with:
>
> CTW> export LIBS="-ludmsearch -lgd -lpng -lz -lm -lc -lpng -ljpeg -lz
> -lttf
> CTW> -lintl -lXpm -lX11" && \
> CTW> export LDFLAGS="-Wl,-export-dynamic -Wl,-R/usr/lib -L/usr/lib
> CTW> -Wl,-R/usr/pkg/lib \
> CTW> -L/usr/pkg/lib -Wl,-R/usr/local/lib -L/usr/local/lib
> CTW> -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib"
>
> Try to not to list udmsearch in your export LIBS.
> configure script is able to detect all needed libraries at patch
> where
> they are by using udm-config script.
>
> CTW> mnogosearch is 3.1.9, php-monogo is 0.5 from your email to the
> list.
> CTW> upon restarting apache, i get:
>
> If you got php from CVS than you dont need module from maillist.
> I uploaded it at the PHP CVS before sending to maillist.
>
> --
> Regards, Sergey aka gluke.
>
>
__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]