Chris Oxenreider wrote:

I have made a copy of /uer/bin/libtool and placed it in the PHPBUILD directory afer configuring PHP with:

../configure --without-mysql \
--enable-track-vars \
--with-config-file-path=/usr/local/lib \
--with-apxs=/usr/sbin/apxs \
--enable-shared \
--without-xml \
--without-sapi

Then I ran 'make'....  Below is the output where the errors have occured.

[EMAIL PROTECTED] LDFLAGS="-no-undefined" make


/bin/sh /home/c.g.oxenrider/working/phpstuff/php-5.0.4/libtool --silent --preserve-dup-deps --mode=link gcc -g -O2 -rpath /home/c.g.oxenrider/working/phpstuff/
php-5.0.4/libs -no-undefined -avoid-version -module ...

Yep, there it is  ^^^^

[...object files...]

main/internal_functions.lo -lcrypt -lcrypt -lresolv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lcrypt -lxml2 -lz -liconv -lm -lcrypt -o libphp5.la
Creating library file: .libs/libphp5.dll.a
sapi/apache/.libs/mod_php5.o: In function `sapi_apache_ub_write':
/home/c.g.oxenrider/working/phpstuff/php-5.0.4/sapi/apache/mod_php5.c:102: undefined reference to `_ap_rwrite'
[...more undefined references...]
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

So, this is what I stated elsewhere, once you have the right libtool and
-no-undefined added the mess begins.

You're obviously missing one or more libraries on the link line.

Probably these are libapr, libapr-util and libhttpd.


Gerrit
--
=^..^=


_______________________________________________
Bug-libtool mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to