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

Solaris10 / SunOS 5.10 svn 1.6.3 seems to be broken (Undefined first referenced symbol in file libintl_bind_textdomain_codeset /app/userxyz/opt/sou​rce/subversion-1.6.3​/subversion/libsvn_s​ubr/.libs/libsvn_sub​r-1.so ​)

From: <bastian.angerstein_at_deutschebahn.com>
Date: Tue, 7 Jul 2009 12:14:48 +0200

Hello,
                                                                            
  I am trying to build a SVN-Server 1.6.3 on a Solaris 10 / SunOS 5.10
  System. I read the installation&dependencies instructions. (But I might
  have missed out something or get something wrong, because I´m not a
  native
  speaker, so there is no need to flame me. And I ask 48 hours ago without
  a single reply. ;-) )
                                                                            
  Downloaded subversion-1.6.3.tar.gz and subversion-deps-1.6.3.tar.gz.
  I can´t build as root due to restrictions. I have to build as a normal
  user
  named userxyz.
                                                                            
  I tried with:
  ld is Solaris Link Editors: 5.10-1.489
  gcc 3.4.4
  make 3.80
                                                                            
  then:
  ld is Solaris Link Editors: 5.10-1.489
  gcc 3.4.4
  gmake 3.80
                                                                            
  and later
  ld gnu 2.15
  gcc 3.4.4
  gmake 3.80
                                                                            
  I tried using autogen.sh to find any missing libs. autogen.sh says
  everything is fine.
                                                                            
  I tried several configuration options (configures options
  --enable-all-static is broken) all without success.
  I used make clean or gmake clean to clean up after errors.
                                                                            
  ./configure --prefix=/app/usrxyz​/opt/SVN-1.63-Server​ --enable-shared="no"
  --enable-static="yes"
  ./configure --prefix=/app/usrxyz​/opt/SVN-1.63-Server​
  --enable-shared="yes"
  --enable-static="no"
  ./configure --prefix=/app/usrxyz​/opt/SVN-1.63-Server​
  --enable-shared="yes"
  --enable-static="no" --without-serf
                                                                            
  LD_LIBRARY_PATH=/usr​/sfw/lib:/lib:/usr/l​ib:/usr/ccs/lib:/usr​
  /lib:/usr/local/lib:​/lib
  LDFLAGS="-L /usr/local/lib -R /usr/local/lib -L /usr/sfw/lib
  -R /usr/sfw/lib -L /usr/lib -R /usr/lib -L /usr/ccs/lib -R /usr/ccs/lib
  -L /lib -R /lib"
                                                                            
  I am ending up with this error:
                                                                            
  subversion/svn
  && /bin/bash /app/userxyz/opt/sou​rce/subversion-1.6.3​/libtool --tag=CC
  --silent --mode=link gcc -all-static -g -O2 -g -O2 -D_LARGEFILE64_SOURCE
  -DNE_LFS -rpath /app/userxyz/opt/SVN​-1.63-Server/lib -o svn add-cmd.o
  blame-cmd.o cat-cmd.o changelist-cmd.o checkout-cmd.o cleanup-cmd.o
  commit-cmd.o conflict-callbacks.o copy-cmd.o delete-cmd.o diff-cmd.o
  export-cmd.o help-cmd.o import-cmd.o info-cmd.o list-cmd.o lock-cmd.o
  log-cmd.o main.o merge-cmd.o mergeinfo-cmd.o mkdir-cmd.o move-cmd.o
  notify.o propdel-cmd.o propedit-cmd.o propget-cmd.o proplist-cmd.o
  props.o
  propset-cmd.o resolve-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o
  status.o switch-cmd.o tree-conflicts.o unlock-cmd.o update-cmd.o
  util.o ../../subversion/lib​svn_client/libsvn_cl​
  ient-1.la ../../subversion/lib​svn_wc/libsvn_wc-1.l​a ../../subversion/lib​
  svn_ra/libsvn_ra-1.l​a ../../subversion/lib​svn_delta/libsvn_del​
  ta-1.la ../../subversion/lib​svn_diff/libsvn_diff​
  -1.la ../../subversion/lib​svn_subr/libsvn_subr​-1.la /app/userxyz/opt/sou​
  rce/subversion-1.6.3​/apr-util/libaprutil​-1.la
   -lexpat /app/userxyz/opt/sou​rce/subversion-1.6.3​/apr/libapr-1.la -luuid
  -lsendfile -lrt -lsocket -lnsl
  -lpthread /app/userxyz/opt/sou​rce/subversion-1.6.3​/neon/src/libneon.la​
  -lsocket
  ld: fatal: library -lm: not found
  ld: fatal: library -lssl: not found
  ld: fatal: library -lcrypto: not found
  ld: fatal: library -luuid: not found
  ld: fatal: library -lsendfile: not found
  ld: fatal: library -lrt: not found
  ld: fatal: library -lpthread: not found
  ld: fatal: library -lnsl: not found
  ld: fatal: library -lz: not found
  ld: fatal: library -lexpat: not found
  ld: fatal: library -lsocket: not found
  ld: fatal: library -lc: not found
  ld: fatal: library -lc: not found
                                                                            
  or using the gnu linker this error:
                                                                            
  cd subversion/svn
  && /bin/bash /app/userxyz/opt/sou​rce/subversion-1.6.3​/libtool --tag=CC
  --silent --mode=link gcc -g -O2 -g -O2 -D_LARGEFILE64_SOURCE -DNE_LFS
  -rpath /app/userxyz/opt/SVN​-1.63-Server/lib -o svn add-cmd.o blame-cmd.o
  cat-cmd.o changelist-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o
  conflict-callbacks.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o
  help-cmd.o import-cmd.o info-cmd.o list-cmd.o lock-cmd.o log-cmd.o main.o
  merge-cmd.o mergeinfo-cmd.o mkdir-cmd.o move-cmd.o notify.o propdel-cmd.o
  propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o
  resolve-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o
  switch-cmd.o tree-conflicts.o unlock-cmd.o update-cmd.o
  util.o ../../subversion/lib​svn_client/libsvn_cl​
  ient-1.la ../../subversion/lib​svn_wc/libsvn_wc-1.l​a ../../subversion/lib​
  svn_ra/libsvn_ra-1.l​a ../../subversion/lib​svn_delta/libsvn_del​
  ta-1.la ../../subversion/lib​svn_diff/libsvn_diff​
  -1.la ../../subversion/lib​svn_subr/libsvn_subr​-1.la /app/userxyz/opt/sou​
  rce/subversion-1.6.3​/apr-util/libaprutil​-1.la
   -lexpat /app/userxyz/opt/sou​rce/subversion-1.6.3​/apr/libapr-1.la -luuid
  -lsendfile -lrt -lsocket -lnsl
  -lpthread /app/userxyz/opt/sou​rce/subversion-1.6.3​/neon/src/libneon.la​
  -lsocket
  ld: warning: file ../../subversion/lib​svn_wc/.libs/libsvn_​wc-1.so: linked
  to /app/userxyz/opt/sou​rce/subversion-1.6.3​/subversion/libsvn_w​
  c/.libs/libsvn_wc-1.​so:
   attempted multiple inclusion of file
  ld: warning: file ../../subversion/lib​svn_ra/.libs/libsvn_​ra-1.so: linked
  to /app/userxyz/opt/sou​rce/subversion-1.6.3​/subversion/libsvn_r​
  a/.libs/libsvn_ra-1.​so:
   attempted multiple inclusion of file
  ld: warning: file ../../subversion/lib​svn_delta/.libs/libs​vn_delta-1.so:
  linked
  to /app/userxyz/opt/sou​rce/subversion-1.6.3​/subversion/libsvn_d​
  elta/.libs/libsvn_de​lta-1.so:
   attempted multiple inclusion of file
  ld: warning: file ../../subversion/lib​svn_diff/.libs/libsv​n_diff-1.so:
  linked
  to /app/userxyz/opt/sou​rce/subversion-1.6.3​/subversion/libsvn_d​
  iff/.libs/libsvn_dif​f-1.so:
   attempted multiple inclusion of file
  ld: warning: file ../../subversion/lib​svn_subr/.libs/libsv​n_subr-1.so:
  linked
  to /app/userxyz/opt/sou​rce/subversion-1.6.3​/subversion/libsvn_s​
  ubr/.libs/libsvn_sub​r-1.so:
   attempted multiple inclusion of file
  Undefined first referenced
  symbol in file
  libintl_bind_textdomain_codeset /app/userxyz/opt/sou​rce/subversion-1.6.3​
  /subversion/libsvn_s​ubr/.libs/libsvn_sub​r-1.so
                                                                            
  libintl_dngettext info-cmd.o
  libintl_bindtextdomain /app/userxyz/opt/sou​rce/subversion-1.6.3​
  /subversion/libsvn_s​ubr/.libs/libsvn_sub​r-1.so
                                                                            
  libintl_dgettext blame-cmd.o
  ld: fatal: Symbol referencing errors. No output written to .libs/svn
                                                                            
                                                                            
  using ./configure --prefix=/app/usrxyz​/opt/SVN-1.63-Server​
  --enable-shared="yes" --enable-static="no" --without-serf gives me this
  error:
                                                                            
  cd subversion/svn
  && /bin/bash /app/userxyz/opt/sou​rce/subversion-1.6.3​/libtool --tag=CC
  --silent --mode=link gcc -g -O2 -g -O2 -D_LARGEFILE64_SOURCE -DNE_LFS
  -L /usr/local/lib -R /usr/local/lib -L /usr/sfw/lib -R /usr/sfw/lib
  -L /usr/lib -R /usr/lib -L /usr/ccs/lib -R /usr/ccs/lib -L /lib -R /lib
  -rpath /app/userxyz/opt/SVN​-1.63-Server/lib -o svn add-cmd.o blame-cmd.o
  cat-cmd.o changelist-cmd.o checkout-cmd.o cleanup-cmd.o commit-cmd.o
  conflict-callbacks.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o
  help-cmd.o import-cmd.o info-cmd.o list-cmd.o lock-cmd.o log-cmd.o main.o
  merge-cmd.o mergeinfo-cmd.o mkdir-cmd.o move-cmd.o notify.o propdel-cmd.o
  propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o
  resolve-cmd.o resolved-cmd.o revert-cmd.o status-cmd.o status.o
  switch-cmd.o tree-conflicts.o unlock-cmd.o update-cmd.o
  util.o ../../subversion/lib​svn_client/libsvn_cl​
  ient-1.la ../../subversion/lib​svn_wc/libsvn_wc-1.l​a ../../subversion/lib​
  svn_ra/libsvn_ra-1.l​a ../../subversion/lib​svn_delta/libsvn_del​
  ta-1.la ../../subversion/lib​svn_diff/libsvn_diff​
  -1.la ../../subversion/lib​svn_subr/libsvn_subr​-1.la /app/userxyz/opt/sou​
  rce/subversion-1.6.3​/apr-util/libaprutil​-1.la
    -lexpat -liconv /app/userxyz/opt/sou​rce/subversion-1.6.3​
  /apr/libapr-1.la
  -luuid -lsendfile -lrt -lsocket -lnsl
  -lpthread /app/userxyz/opt/sou​rce/subversion-1.6.3​/neon/src/libneon.la​
  -lsocket -lintl -lintl
  ld: fatal: file /usr/local/lib: unknown file type ld: fatal: File processing errors. No output written to .libs/svn
  collect2: ld returned 1 exit status
  gmake: *** [subversion/svn/svn] Error 1
                                                                            
  Thanks,
  Bastian
                                                                            
                                                                            
                                                                            

_________________________________________________________________________________

Internetauftritt der Deutschen Bahn AG >> http://www.db.de

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2368722
Received on 2009-07-07 12:16:04 CEST

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