pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39853: apr-util is broken with native xorg



>Number:         39853
>Category:       pkg
>Synopsis:       apr-util is broken with native xorg
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 02 13:55:00 +0000 2008
>Originator:     Bernd Ernesti
>Release:        NetBSD 5.99.01
>Organization:
        
>Environment:
System: NetBSD 5.99.01
Architecture: i386
Machine: i386
>Description:
        libaprutil-1.so.0.3.4 has a broken rpath, resulting in other programs 
which
        are linked against apr-util to fail.

# ldd libaprutil-1.so.0.3.4 
libaprutil-1.so.0.3.4:
        -lexpat.1 => not found
        -lc.12 => /usr/lib/libc.so.12
        -lcrypt.0 => /usr/lib/libcrypt.so.0
        -lpthread.0 => /usr/lib/libpthread.so.0
        -lapr-1.0 => /usr/pkg/lib/libapr-1.so.0

* objdump output for libaprutil:
Dynamic Section:
  NEEDED      libexpat.so.1
  NEEDED      libapr-1.so.0
  NEEDED      libcrypt.so.0
  NEEDED      libpthread.so.0
  NEEDED      libc.so.12
  SONAME      libaprutil-1.so.0
  RPATH       /usr/pkg/lib

* objdump output for libexpat in X11R7:
Dynamic Section:
  NEEDED      libc.so.12
  SONAME      libexpat.so.1
  RPATH       /usr/X11R7/lib

* configure output while building apr-util:
checking for odbc/sql.h... no
  setting APRUTIL_INCLUDES to "-I/usr/X11R7/include"
  setting APRUTIL_LDFLAGS to "-L/usr/X11R7/lib"
checking Expat 1.95.x... yes
  setting APRUTIL_EXPORT_LIBS to "-lexpat"
  setting APRUTIL_LIBS to "-lexpat"

* /usr/pkg/bin/apu-1-config
LDFLAGS="-L/usr/X11R7/lib"

>How-To-Repeat:
        Build devel/apr-util with MKXORG=YES and X11_TYPE=native
>Fix:



Home | Main Index | Thread Index | Old Index