php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17165 symbol _unixdriver not found when starting Apache 2.0.35 + Php
Submitted: 2002-05-12 12:04 UTC Modified: 2002-09-11 16:02 UTC
From: karl dot soulabaille at free dot fr Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.2.0 OS: OpenBSD 3.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: karl dot soulabaille at free dot fr
New email:
PHP Version: OS:

 

 [2002-05-12 12:04 UTC] karl dot soulabaille at free dot fr
Here is the error:
#########################################################
bash-2.05# ./apachectl start
/usr/libexec/ld.so: Undefined symbol "_unixdriver" in httpd:/usr/local/http-2.0.35/modules/libphp4.so
./apachectl start: httpd could not be started
bash-2.05#

As the libc-client.a is installed into /usr/local/lib (I compile my own version, not using openbsd package)
I have set up variable:
/usr/local/lib:/usr/local/freetype-2.1.0/lib

Compile as install work fine.

Here is the start of config.log: 
#########################################################
It was created by configure, which was
generated by GNU Autoconf 2.52.  Invocation command line was

  $ ./configure --prefix=/usr/local/php-4.2.0 --with-gd=/usr/local --with-pgsql --with-ttf --enable-pea
r --enable-static --disable-shared --with-zlib=/usr --with-ftp --with-openssl --enable-sockets --with-a
pxs2=/usr/local/http-2.0.35/bin/apxs --with-gettext --with-jpeg-dir=/usr/local --with-png-dir=/usr/loca
l --with-freetype-dir=/usr/local/freetype-2.1.0 --with-t1lib=/usr/local/ --enable-sysvshem --enable-sys
vshm --enable-mbstring --with-imap-ssl=/usr --with-mcrypt=/usr/local --without-pam --without-crypt --wi
th-imap=/usr/local --with-imap-ssl=/usr

## ---------- ##
## Platform.  ##
## ---------- ##

hostname = vm-openbsd
uname -m = i386
uname -r = 3.0
uname -s = OpenBSD
uname -v = GENERIC#94

/usr/bin/uname -p = Intel Pentium 4 ("GenuineIntel" 686-class)
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = OpenBSD.i386
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH = /bin:/usr/bin:/usr/local/bin:/usr/sbin

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-06-01 16:12 UTC] karl dot soulabaille at free dot fr
It appears that is a problem with c-client :
#nm libc-client.a | grep "unixdriver"
0000604c D _unixdriver

May link be wrong somewhere ?
 [2002-06-01 19:18 UTC] sniper@php.net
Reclassified. Not a crash but compile problem.
And it's not likely any problem with c-client.

Have you tried a simple configure / compile of PHP with
only the --with-imap & other possible options needed to
compile the imap support? If not, please do so and do it 
with 'fresh' sources. 





 [2002-06-01 19:19 UTC] sniper@php.net
Oopsie.status was supposed to be 'feedback'.






 [2002-06-11 06:51 UTC] sniper@php.net
So latest openbsd ports version of c-client works fine for you??

 [2002-09-11 11:05 UTC] sniper@php.net
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.


 [2002-09-11 12:54 UTC] karl dot soulabaille at free dot fr
I don't work on it any more. Sorry. 
I was finally installed Apache 1.3 and standard OpenBSD 
3.0 port.
 [2002-09-11 16:02 UTC] sniper@php.net
Not much point having this open then..

 [2002-10-01 01:13 UTC] graemel at omniconnect dot com dot au
I too, suffered this exact same problem with OpenBSD/imap
(if you leave out imap support, all is fine)

The only solution I have so far is to compile the imap tree in the ports distribution.

compile options for php will change to
--with-imap-ssl --with-kerberos
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 01:01:27 2024 UTC