apxs build fail : ext/db/.libs/libphpext_db.al: unknown type
| From: | Thies C. Arntzen | Date: | Wed, 06 Oct 1999 06:43:24 +0000 |
| Subject: | apxs build fail : ext/db/.libs/libphpext_db.al: unknown type | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-5222@lists.php.net to get a copy of this message | ||
hi sascha,
(solaris 2.6)
i don't have any flat-file db's configured -
thies@voyager<486>nm ext/db/.libs/libphpext_db.al
db.lo:
00000000 t Letext
ranlib'ing ext/db/.libs/libphpext_db.al does not help.
thies@voyager<487>nm -o ext/db/db.lo
ext/db/db.lo:00000000 t Letext
so it seems that solaris /usr/ccs/bin/ld has a problem with empty
archives.
removing the references to ex/db & friends from the top-level Makefile of
my build-tree solves the problem.
my final-link-line:
/usr/ccs/bin/ld -G -h libphp4.so.0 -o .libs/libphp4.so.0.0.0 main.lo internal_functions.lo
snprintf.lo php3_sprintf.lo configuration-parser.lo configuration-scanner.lo request_info.lo
safe_mode.lo fopen-wrappers.lo php3_realpath.lo alloca.lo output.lo php_ini.lo SAPI.lo rfc1867.lo
dlist.lo php_content_types.lo strlcpy.lo strlcat.lo -z allextract libzend/.libs/libzend.al
sapi/apache/.libs/libphpsapi_apache.al regex/.libs/libregex.al ext/apache/.libs/libphpext_apache.al
ext/db/.libs/libphpext_db.al ext/oci8/.libs/libphpext_oci8.al ext/oracle/.libs/libphpext_oracle.al
ext/pcre/.libs/libphpext_pcre.al ext/session/.libs/libphpext_session.al
ext/standard/.libs/libphpext_standard.al ext/sysvsem/.libs/libphpext_sysvsem.al
ext/sysvshm/.libs/libphpext_sysvshm.al ext/xml/.libs/libphpext_xml.al -z defaultextract -ldl -ldl
-lm -lresolv -lnsl -lsocket -lcrypt -lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh -lm
-L/dot/oracle/app/oracle/product/8.0.5/lib -lclntsh -lpsa -lcore4 -lnlsrtl3 -lclntsh !
!
-lm -lpam -lc
regards,
tc