Hi,
I am told we have a bug in our build system;
edward at opensolaris0805:~$ dump -Lv /opt/kde-4.0/lib/kde4/libexec/lnusertemp
/opt/kde-4.0/lib/kde4/libexec/lnusertemp:
**** DYNAMIC SECTION INFORMATION ****
.dynamic:
[INDEX] Tag Value
[1] NEEDED libthread.so.1
[2] NEEDED libnsl.so.1
[3] NEEDED libc.so.1
[4] INIT 0x8057a30
[5] FINI 0x8057a5c
[6] RUNPATH
/usr/xpg6/lib:/usr/xpg4/lib:/opt/kde-4.0/lib:/usr/sfw/lib:/opt/foss/lib:/opt/kde-4.0/lib:/opt/foss/lib
[7] RPATH
/usr/xpg6/lib:/usr/xpg4/lib:/opt/kde-4.0/lib:/usr/sfw/lib:/opt/foss/lib:/opt/kde-4.0/lib:/opt/foss/lib
[8] HASH 0x8050118
[9] STRTAB 0x80516cc
[10] STRSZ 0x1a73
[11] SYMTAB 0x805086c
[12] SYMENT 0x10
[13] SUNW_SYMTAB 0x805084c
[14] SUNW_SYMSZ 0xe80
[15] SUNW_SORTENT 0x4
[16] SUNW_SYMSORT 0x80531b0
[17] SUNW_SYMSORTSZ 0x2c4
[18] CHECKSUM 0x1ab6
[19] VERNEED 0x8053140
[20] VERNEEDNUM 0x3
[21] PLTSZ 0x158
[22] PLTREL 0x11
[23] JMPREL 0x805347c
[24] REL 0x8053474
[25] RELSZ 0x160
[26] RELENT 0x8
[27] DEBUG 0
[28] FEATURE_1 PARINIT
[29] SUNW_CAP 0x8050108
[30] FLAGS BIND_NOW
[31] FLAGS_1 [ NOW NODEFLIB ]
[32] SUNW_STRPAD 0x200
[33] PLTGOT 0x8068530
edward at opensolaris0805:~$ uname -a
SunOS opensolaris0805 5.11 snv_86 i86pc i386 i86pc Solaris
edward at opensolaris0805:~$ env
MANPATH=/usr/gnu/share/man:/usr/share/man:/usr/X11/share/man
SSH_AGENT_PID=592
SHELL=/bin/bash
TERM=xterm
DESKTOP_STARTUP_ID=
GTK_RC_FILES=/etc/gtk/gtkrc:/export/home/edward/.gtkrc-1.2-gnome2
WINDOWID=52518462
USER=edward
_AST_FEATURES=UNIVERSE - att
GNOME_KEYRING_SOCKET=/var/tmp/keyring-c4aOlb/socket
SSH_AUTH_SOCK=/tmp/ssh-XXnRaOib/agent.581
SESSION_MANAGER=local/opensolaris0805:/tmp/.ICE-unix/581,inet6/opensolaris0805:54236,inet/opensolaris0805:48811
USERNAME=edward
PAGER=/usr/bin/less -ins
PATH=/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin
DESKTOP_SESSION=gnome
LC_MESSAGES=en_AU.UTF-8
GDM_XSERVER_LOCATION=local
PWD=/export/home/edward
LANG=en_AU.UTF-8
GDM_LANG=en_AU.UTF-8
VTE_CJK_WIDTH=1
GDMSESSION=gnome
SESSIONTYPE=1
SHLVL=1
HOME=/export/home/edward
GNOME_DESKTOP_SESSION_ID=Default
g_filename_encodi...@locale,UTF-8
LOGNAME=edward
XDG_DATA_DIRS=/usr/local/share/:/usr/share/:/usr/share/gdm/
DISPLAY=:0.0
GTK_IM_MODULE=iiim
G_BROKEN_FILENAMES=yes
COLORTERM=gnome-terminal
XAUTHORITY=/export/home/edward/.Xauthority
_=/usr/gnu/bin/env
edward at opensolaris0805:~$
RPATH is missing /usr/lib
>From my understanding and what I have been informed of is the following:
everything was built with -z nodefaultlib and in that case you have to have
/usr/lib explicitly in $RPATH
By passing -z nodefaultlib tells the runtime loader that all shared library
dependencies must be satisfied from the RPATH only, and that no search of
the default RPATH shall be done on startup, which as a side effect,
eliminates /usr/lib from the default RPATH.
I am told that, we need to add -R/usr/lib and -R/usr/lib/${ARCH64} to the
link lines.
Thus, to work around this we can use the world famous LD_LIBRARY_PATH trick.
edit /opt/kde-4.0/bin/startkde
LD_LIBRARY_PATH="/usr/lib" ; export LD_LIBRARY_PATH
Many Thanks for your time and thanks to steleman over at #kde-solaris for
helping me to understand and explaining everything above.
Edward O'Callaghan
IRC; evocallaghan
--
All Documents adhered to the ISO/IEC 26300 standard file format for
electronic office documents, such as spreadsheets, charts, presentations and
word processing documents from this email address. The author does not take
responsibility of the recipients inability to read international standards
and who use proprietary products such as MS Office.
See: http://www.openoffice.org/
Edward O'Callaghan.
--
http://fedoraproject.org/wiki/EdwardOcallaghan
http://moonshine.opn4.org/
http://www.pcbsd.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.opensolaris.org/pipermail/kde-discuss/attachments/20080530/ed1546ad/attachment.html>