Hi all,
I like to use mod_webdav and all it's features.
So I compiled the lighttpd on my openSuSE 10.2 x86_64
./configure '--prefix=/usr/local/lighttpd' '--enable-openssl'
'--with-openssl-libs=/usr/lib' '--with-fam' '--with-memcache'
'--with-gdbm' '--with-lua' '--with-webdav-props' '--with-webdav-locks'
will fail
gcc -shared .libs/mod_webdav_la-mod_webdav.o -L/usr/lib
/usr/lib/libxml2.so -lz -lm /usr/lib64/libsqlite3.so -luuid -m64
-march=nocona -Wl,-soname -Wl,mod_webdav.so -o .libs/mod_webdav.so
/usr/lib/libxml2.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
easy! Tell it that it have to use the 64 Bit libs:
XML_LIBS=/usr/lib64 ./configure '--prefix=/usr/local/lighttpd'
'--enable-openssl' '--with-openssl-libs=/usr/lib' '--with-fam'
'--with-memcache' '--with-gdbm' '--with-lua' '--with-webdav-props'
'--with-webdav-locks'
and configure and make, make check, make install are happy, but a
restart of lighttpd has the following result
2008-07-11 10:57:29: (plugin.c.165) dlopen() failed for:
/usr/local/lighttpd/lib/mod_webdav.so
/usr/local/lighttpd/lib/mod_webdav.so: undefined symbol: xmlStrcmp
2008-07-11 10:57:29: (server.c.621) loading plugins finally failed
At that point I have not many ideas! :(
Please help!
Here are some data about
# nm /usr/local/lighttpd/lib/mod_webdav.so
0000000000207e18 a _DYNAMIC
0000000000207fe8 a _GLOBAL_OFFSET_TABLE_
w _Jv_RegisterClasses
0000000000207df8 d __CTOR_END__
0000000000207df0 d __CTOR_LIST__
0000000000207e08 d __DTOR_END__
0000000000207e00 d __DTOR_LIST__
0000000000007c98 r __FRAME_END__
0000000000207e10 d __JCR_END__
0000000000207e10 d __JCR_LIST__
00000000000078b0 r __PRETTY_FUNCTION__.21460
U __assert_fail@@GLIBC_2.2.5
00000000002083a0 A __bss_start
w __cxa_finalize@@GLIBC_2.2.5
0000000000006950 t __do_global_ctors_aux
0000000000002570 t __do_global_dtors_aux
00000000002082c0 d __dso_handle
U __errno_location@@GLIBC_2.2.5
w __gmon_start__
U __strtol_internal@@GLIBC_2.2.5
U __strtoll_internal@@GLIBC_2.2.5
U __xstat64@@GLIBC_2.2.5
00000000002083a0 A _edata
00000000002083a8 A _end
0000000000006988 T _fini
0000000000001fc0 T _init
U array_get_element
U buffer_append_long
U buffer_append_string
U buffer_append_string_buffer
U buffer_append_string_encoded
U buffer_append_string_len
U buffer_copy_string
U buffer_copy_string_buffer
U buffer_copy_string_len
U buffer_free
U buffer_init
U buffer_init_string
U buffer_is_empty
U buffer_is_equal
U buffer_is_equal_right_len
U buffer_is_equal_string
U buffer_path_simplify
U buffer_reset
U buffer_to_lower
U buffer_urldecode_path
0000000000002550 t call_gmon_start
U calloc@@GLIBC_2.2.5
U chunkqueue_get_append_buffer
U chunkqueue_length
U chunkqueue_remove_finished_chunks
U close@@GLIBC_2.2.5
U closedir@@GLIBC_2.2.5
00000000002083a0 b completed.6094
U config_check_cond
U config_insert_values_global
00000000000025c0 t frame_dummy
U free@@GLIBC_2.2.5
U get_http_status_name
U gmtime@@GLIBC_2.2.5
00000000002082e0 D live_properties
U log_error_write
U lseek64@@GLIBC_2.2.5
U malloc@@GLIBC_2.2.5
U mkdir@@GLIBC_2.2.5
U mmap64@@GLIBC_2.2.5
0000000000002651 t mod_webdav_free
00000000000027b5 t mod_webdav_init
00000000000025f0 T mod_webdav_plugin_init
000000000000281e t mod_webdav_set_defaults
00000000000047d9 t mod_webdav_subrequest_handler
0000000000004466 t mod_webdav_uri_handler
U open64@@GLIBC_2.2.5
U opendir@@GLIBC_2.2.5
00000000002082c8 d p.6092
U readdir64@@GLIBC_2.2.5
U realloc@@GLIBC_2.2.5
U rename@@GLIBC_2.2.5
U response_header_insert
U response_header_overwrite
U rmdir@@GLIBC_2.2.5
U sqlite3_bind_int
U sqlite3_bind_text
U sqlite3_changes
U sqlite3_close
U sqlite3_column_text
U sqlite3_errmsg
U sqlite3_exec
U sqlite3_finalize
U sqlite3_free
U sqlite3_open
U sqlite3_prepare
U sqlite3_reset
U sqlite3_step
U stat_cache_get_entry
U strchr@@GLIBC_2.2.5
U stream_close
U stream_open
U strerror@@GLIBC_2.2.5
U strftime@@GLIBC_2.2.5
U strrchr@@GLIBC_2.2.5
U strstr@@GLIBC_2.2.5
U unlink@@GLIBC_2.2.5
U uuid_generate
U uuid_unparse
0000000000003ada t webdav_copy_dir
0000000000003965 t webdav_copy_file
0000000000003e85 t webdav_delete_dir
0000000000003892 t webdav_delete_file
0000000000002f22 t webdav_gen_prop_tag
00000000000037a2 t webdav_gen_response_status_tag
0000000000003265 t webdav_get_live_property
000000000000359c t webdav_get_props
0000000000002e9e T webdav_has_lock
0000000000003015 T webdav_lockdiscovery
0000000000004130 t webdav_parse_chunkqueue
U write@@GLIBC_2.2.5
U xmlCreatePushParserCtxt
U xmlDocGetRootElement
U xmlFreeDoc
U xmlFreeParserCtxt
U xmlNodeGetContent
U xmlParseChunk
U xmlStrcmp
U xmlStrdup
U xmlStrlen
# xml2-config --version
2.6.26
on 11.07.2008 12:41
on 06.09.2008 14:07
Kai W. wrote: > Hi all, > > I like to use mod_webdav and all it's features. > So I compiled the lighttpd on my openSuSE 10.2 x86_64 > > ./configure '--prefix=/usr/local/lighttpd' '--enable-openssl' > '--with-openssl-libs=/usr/lib' '--with-fam' '--with-memcache' > '--with-gdbm' '--with-lua' '--with-webdav-props' '--with-webdav-locks' > > will fail > > gcc -shared .libs/mod_webdav_la-mod_webdav.o -L/usr/lib got this fixed already? i have same error with webdav and lighttpd .. seems there is not much info out there mata
on 08.09.2008 09:26
> got this fixed already? i have same error with webdav and lighttpd .. > seems there is not much info out there No fix on my site. I use Apache HTTP Server as webdav backend for the moment.

