|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25517 make error with --with-nsapi (THREADLIB)
Submitted: 2003-09-12 11:44 UTC Modified: 2003-09-29 05:57 UTC
From: bmolinari at sitrack dot com Assigned:
Status: No Feedback Package: Informix related
PHP Version: 4.3.3 OS: TRU64/Digital Unix
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: bmolinari at sitrack dot com
New email:
PHP Version: OS:


 [2003-09-12 11:44 UTC] bmolinari at sitrack dot com
I searched through the forum pages and the archive and didn't
find a solution. Here's what I'm doing - TRU64, with iPlanet in
/usr/netscape/server4 and Informix in /disco/home/informix

configure  --with-nsapi=/usr/netscape/server4 --with-informix=/disco/home/informix

Configure runs fine, and produces no errors.

Immediately after issue the make command I get 

/bin/ksh /php-4.3.3/libtool --silent --preserve-dup-deps --mode=compile /php-4.3.3/meta_ccld  -Iext/ctype/ -I/php-4.3.3/ext/ctype/ -DPHP_ATOM_INC -I/php-4.3.3/include -I/php-4.3.3/main -I/php-4.3.3 -I/usr/netscape/server4/plugins/include -I/php-4.3.3/Zend -I/php-4.3.3/ext/xml/expat  -DIFX_THREAD -I/php-4.3.3/TSRM -DTHREAD=1  -g -pthread -DZTS  -prefer-pic -c /php-4.3.3/ext/ctype/ctype.c -o ext/ctype/ctype.lo
/bin/ksh /php-4.3.3/libtool --silent --preserve-dup-deps --mode=link /php-4.3.3/meta_ccld  -o ext/informix/libphpifx.a
(if test -d /disco/home/informix; then  THREADLIB=POSIX /disco/home/informix/bin/esql -e -thread -EUHAVE_IFX_IUS /php-4.3.3/ext/informix/; mv ifx.c /php-4.3.3/ext/informix/ifx.c;  else  touch /php-4.3.3/ext/informix/ifx.c;  fi)
esql:   When using -thread, the THREADLIB environment variable
        must be set to a supported thread library. Currently
        supporting: DCE, POSIX(Solaris 2.5 and higher only) and
        SOL (Solaris Kernel Threads).
*** Exit 1

Any Tips ?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-23 04:24 UTC]
Try 'export THREADLIB=POSIX' prior to make.

 [2003-09-23 07:36 UTC] bmolinari at sitrack dot com
I already try that with,
setenv THREADLIB posix
but it keeps giving the same annoying error.
 [2003-09-23 15:20 UTC]
I read this:

You're using korn shell, so you should do:

# export THREADLIB
# make

Try this too:


 [2003-09-29 05:57 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Jan 18 05:07:33 2022 UTC