perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From OpenMacNews <openmacn...@gmail.com>
Subject [mp2] 'make test' fails @ "dyld: Symbol not found: _dav_register_provider", but apache & svn are OK ...
Date Mon, 02 Oct 2006 04:38:17 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi,

i've built:

	perl 588
	apache2 (worker-mpm) (httpd 224-dev, apr 128-dev, apr-util 128-dev; 
all r451784)
	subversion 141-dev

and,

	mod_perl2-dev r451853

on OSX 10.4.8.

apache & subversion bothh build & executeOK.

mod_perl build seems to complete w/o error.

but, on 'make test', i see:

	setenv APACHE_TEST_USER  www
	setenv APACHE_TEST_GROUP www
	setenv APACHE_TEST_HTTPD /usr/localapache2/sbin/httpd
	setenv APACHE_TEST_PORT  8529
	setenv APACHE_TEST_APXS  /usr/local/apache2/sbin/apxs
	
	cd /usr/ports/mod_perl_svn
	sudo -u www make test
	
	
	cd "src/modules/perl" && make
	make[1]: Nothing to be done for `all'.
	/usr/local/perl5/bin/perl -Iblib/arch -Iblib/lib \
	t/TEST -clean
	[warning] setting ulimit to allow core files
	ulimit -c unlimited; /usr/local/perl5/bin/perl 
/usr/ports/mod_perl_svn/t/TEST -clean
	APACHE_TEST_GROUP=www APACHE_TEST_HTTPD=/usr/local/apache2/sbin/httpd 
APACHE_TEST_PORT=8529 APACHE_TEST_USER=www 
APACHE_TEST_APXS=/usr/local/apache2/sbin/apxs \
	/usr/local/perl5/bin/perl -Iblib/arch -Iblib/lib \
	t/TEST -bugreport -verbose=0
	[warning] setting ulimit to allow core files
	ulimit -c unlimited; /usr/local/perl5/bin/perl 
/usr/ports/mod_perl_svn/t/TEST -bugreport -verbose=0
	/usr/local/apache2/sbin/httpd  -d /usr/ports/mod_perl_svn/t -f 
/usr/ports/mod_perl_svn/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
	dyld: lazy symbol binding failed: Symbol not found: 
_dav_register_provider
	  Referenced from: /usr/local/apache2/libexec/mod_dav_svn.so
	  Expected in: dynamic lookup
	
	dyld: Symbol not found: _dav_register_provider
	  Referenced from: /usr/local/apache2/libexec/mod_dav_svn.so
	  Expected in: dynamic lookup
	
	using Apache/2.2.4-dev (worker MPM)
	
	waiting 300 seconds for server to start: 
.......................................................


and, the server never starts ...

i note the 'complaint' abt:

	dyld: lazy symbol binding failed: Symbol not found: 
_dav_register_provider
	  Referenced from: /usr/local/apache2/libexec/mod_dav_svn.so

checking in


% otool -L /usr/local/apache2/libexec/mod_dav_svn.so
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 88.1.7)
	/usr/local/lib/libreadline.5.1.dylib (compatibility version 5.0.0, 
current version 5.1.0)
	/usr/local/ncurses/lib/libncurses.5.5.dylib (compatibility version 
5.5.0, current version 5.5.0)
	/usr/local/mysql/lib/mysql/libmysqlclient_r.15.dylib (compatibility 
version 16.0.0, current version 16.0.0)
	/usr/local/lib/libz.1.dylib (compatibility version 1.0.0, current 
version 1.2.3)
	/usr/local/ssl/lib/libssl.0.9.8.dylib (compatibility version 0.9.8, 
current version 0.9.8)
	/usr/local/ssl/lib/libcrypto.0.9.8.dylib (compatibility version 0.9.8, 
current version 0.9.8)
	/usr/local/subversion14x/lib/libsvn_repos-1.0.dylib (compatibility 
version 1.0.0, current version 1.0.0)
	/usr/local/subversion14x/lib/libsvn_fs-1.0.dylib (compatibility 
version 1.0.0, current version 1.0.0)
	/usr/local/subversion14x/lib/libsvn_fs_fs-1.0.dylib (compatibility 
version 1.0.0, current version 1.0.0)
	/usr/local/subversion14x/lib/libsvn_fs_base-1.0.dylib (compatibility 
version 1.0.0, current version 1.0.0)
	/usr/local/subversion14x/lib/libsvn_delta-1.0.dylib (compatibility 
version 1.0.0, current version 1.0.0)
	/usr/local/subversion14x/lib/libsvn_subr-1.0.dylib (compatibility 
version 1.0.0, current version 1.0.0)
	/usr/local/apache2/lib/libaprutil.0.dylib (compatibility version 
3.0.0, current version 3.8.0)
	/usr/local/berkeley-db4520/lib/libdb-4.5.dylib (compatibility version 
0.0.0, current version 0.0.0)
	/usr/local/lib/libexpat.1.dylib (compatibility version 7.0.0, current 
version 7.0.0)
	/usr/local/lib/libiconv.2.dylib (compatibility version 7.0.0, current 
version 7.0.0)
	/usr/local/apache2/lib/libapr.0.dylib (compatibility version 3.0.0, 
current version 3.8.0)
	/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current 
version 1.0.0)



googling on "Symbol not found: _dav_register_provider" i find only:

	http://svn.haxx.se/users/archive-2006-07/0793.shtml

wherein the advice given is:

	You must be missing this line in your httpd.conf:
	LoadModule dav_module modules/mod_dav.so

yet, in *my* httpd.conf, i've:

	LoadModule dav_module             libexec/mod_dav.so

and, cheking *that*, i've:

	% nm /usr/local/apache2/libexec/mod_dav.so | grep -i 
dav_register_provider
		0000d030 T _dav_register_provider


and, if i *separately* launch httpd, i.e., standalone NOT via the 
mod_perl tests, the apahce2 server launches/execs just fine, and 
localhost/server-info shows:

	Server Version: Apache/2.2.4-dev (Unix) DAV/2 SVN/1.4.1-dev 
mod_perl/2.0.3-dev Perl/v5.8.8

so, apparently, something unique to mod_perl has a problem with svn 
&/or dav. i think.

suggestions?

thanks,

richard


- -- 

/"\
\ /  ASCII Ribbon Campaign
 X   against HTML email, vCards
/ \  & micro$oft attachments

[GPG] OpenMacNews at gmail dot com
fingerprint: 50C9 1C46 2F8F DE42 2EDB  D460 95F7 DDBD 3671 08C6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iEYEARECAAYFAkUgl7sACgkQlffdvTZxCMY/SACfQOL7Pri2oLdSecZs0ANsCc/Q
oYoAn0SnJCIk+5k0tJMvwcjldlNriGC8
=onz7
-----END PGP SIGNATURE-----


Mime
View raw message