[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

perl bindings dynamic loader strangeness on solaris

From: solo turn <soloturn_at_gmail.com>
Date: 2005-07-12 18:54:44 CEST

hi,

i tried to run svk, but somehow i am too blind to see what is wrong.
somebody of you has an idea?

$ svk mirror --list
Can't load '/usr/local/perl58/lib/site_perl/5.8.5/sun4-solaris/auto/SVN/_Ra/_Ra.so'
for module SVN::_Ra: ld.so.1: /usr/local/perl58/bin/perl: fatal:
relocation error: file
/usr/local/perl58/lib/site_perl/5.8.5/sun4-solaris/auto/SVN/_Ra/_Ra.so:
symbol svn_swig_pl_thunk_commit_callback: referenced symbol not found
at /usr/local/perl58/lib/5.8.5/sun4-solaris/DynaLoader.pm line 230.
 at /usr/local/perl58/lib/site_perl/5.8.5/sun4-solaris/SVN/Base.pm line 59
BEGIN failed--compilation aborted at
/usr/local/perl58/lib/site_perl/5.8.5/sun4-solaris/SVN/Ra.pm line 5.
Compilation failed in require at
/usr/local/perl58/lib/site_perl/5.8.5/SVK/Util.pm line 29.
BEGIN failed--compilation aborted at
/usr/local/perl58/lib/site_perl/5.8.5/SVK/Util.pm line 29.
Compilation failed in require at /usr/local/perl58/lib/5.8.5/autouse.pm line 53.
        ...propagated at /usr/local/perl58/lib/5.8.5/autouse.pm line 54.

$ ldd /usr/local/perl58/lib/site_perl/5.8.5/sun4-solaris/auto/SVN/_Ra/_Ra.so
        libsvn_client-1.so.0 =>
/usr/local/subversion-1.2.0/lib//libsvn_client-1.so.0
        libsvn_delta-1.so.0 =>
/usr/local/subversion-1.2.0/lib//libsvn_delta-1.so.0
        libsvn_fs-1.so.0 =>
/usr/local/subversion-1.2.0/lib//libsvn_fs-1.so.0
        libsvn_ra-1.so.0 =>
/usr/local/subversion-1.2.0/lib//libsvn_ra-1.so.0
        libsvn_repos-1.so.0 =>
/usr/local/subversion-1.2.0/lib//libsvn_repos-1.so.0
        libsvn_wc-1.so.0 =>
/usr/local/subversion-1.2.0/lib//libsvn_wc-1.so.0
        libsvn_diff-1.so.0 =>
/usr/local/subversion-1.2.0/lib//libsvn_diff-1.so.0
        libsvn_subr-1.so.0 =>
/usr/local/subversion-1.2.0/lib//libsvn_subr-1.so.0
        libaprutil-0.so.0 =>
/usr/local/subversion-1.2.0/lib//libaprutil-0.so.0
        libdb-4.3.so => /usr/local/subversion-1.2.0/lib//libdb-4.3.so
        libexpat.so.0 => /usr/local/subversion-1.2.0/lib//libexpat.so.0
        libapr-0.so.0 => /usr/local/subversion-1.2.0/lib//libapr-0.so.0
        libsendfile.so.1 => /usr/lib/libsendfile.so.1
        librt.so.1 => /usr/lib/librt.so.1
        libm.so.1 => /usr/lib/libm.so.1
        libnsl.so.1 => /usr/lib/libnsl.so.1
        libresolv.so.2 => /usr/lib/libresolv.so.2
        libpthread.so.1 => /usr/lib/libpthread.so.1
        libdl.so.1 => /usr/lib/libdl.so.1
        libsocket.so.1 => /usr/lib/libsocket.so.1
        libc.so.1 => /usr/lib/libc.so.1
        libsvn_fs_fs-1.so.0 =>
/usr/local/subversion-1.2.0/lib//libsvn_fs_fs-1.so.0
        libsvn_fs_base-1.so.0 =>
/usr/local/subversion-1.2.0/lib//libsvn_fs_base-1.so.0
        libsvn_ra_local-1.so.0 =>
/usr/local/subversion-1.2.0/lib//libsvn_ra_local-1.so.0
        libsvn_ra_svn-1.so.0 =>
/usr/local/subversion-1.2.0/lib//libsvn_ra_svn-1.so.0
        libsvn_ra_dav-1.so.0 =>
/usr/local/subversion-1.2.0/lib//libsvn_ra_dav-1.so.0
        libaio.so.1 => /usr/lib/libaio.so.1
        libmp.so.2 => /usr/lib/libmp.so.2
        libneon.so.24 => /usr/local/subversion-1.2.0/lib//libneon.so.24
        libxml2.so.2 => /usr/local/subversion-1.2.0/lib//libxml2.so.2
        libz.so => /usr/local/subversion-1.2.0/lib//libz.so
        libz.so.1 (SUNW_1.1) => (version not found)
        libz.so.1 (SUNW_1.1) => (version not found)
        libthread.so.1 => /usr/lib/libthread.so.1
        /usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1

$ echo $LD_LIBRARY_PATH
/usr/local/subversion-1.2.0/lib/

$ nm /usr/local/subversion-1.2.0/lib/libsvn_swig_perl-1.so | grep
svn_swig_pl_thunk_commit_callback
[322] | 55848| 34|OBJT |GLOB |0 |9
|$XBaU6Og2uawCWBy.svn_swig_pl_thunk_commit_callback.__func__
[474] | 41472| 184|FUNC |GLOB |0 |7
|svn_swig_pl_thunk_commit_callback

i also tried to copy all the _XX.so (like _Ra.so) to one directory,
and set ld_library_path there too.

-solo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 12 18:55:34 2005

This is an archived mail posted to the Subversion Dev mailing list.