[bug-notifications] [emacs 0004768]: CSWemacs missing library dependency and ability to find library once installed

Mantis Bug Tracker noreply at opencsw.org
Fri May 13 10:47:41 CEST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4768 
====================================================================== 
Reported By:                rdparker
Assigned To:                pfelecan
====================================================================== 
Project:                    emacs
Issue ID:                   4768
Category:                   packaging
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2011-05-12 19:51 CEST
Last Modified:              2011-05-13 10:47 CEST
====================================================================== 
Summary:                    CSWemacs missing library dependency and ability to
find library once installed
Description: 
The first OpenCSW package I installed was CSWemacs using pkgutil.  After
doing so, running emacs produces the following error:


$ emacs
ld.so.1: emacs-athena-23.1: fatal: libXpm.so.4.11: open failed: No such
file or directory
Killed

Running "find /opt -name libXpm.so.4.11" returns nothing.

After installing CSWlibxpm, the library exists, but emacs still gives the
same error unless I:

$ LD_LIBRARY_PATH=/opt/csw/X11/lib emacs

in which case emacs loads.  Note I normally have no LD_LIBRARY_PATH.
====================================================================== 

---------------------------------------------------------------------- 
 (0009044) dam (administrator) - 2011-05-13 10:47
 https://www.opencsw.org/mantis/view.php?id=4768#c9044 
---------------------------------------------------------------------- 
The existing CSWxpm package does not provide it:
lrwxrwxrwx   1 root     root          16 Jun 11  2010
/opt/csw/lib/libXpm.so -> libXpm.so.4.11.0
lrwxrwxrwx   1 root     root          16 Jun 11  2010
/opt/csw/lib/libXpm.so.4 -> libXpm.so.4.11.0
-rwxr-xr-x   1 root     bin        98508 May 28  2010
/opt/csw/lib/libXpm.so.4.11.0

I guess the error has not be seen earlier as the library used to be
provided by SUNWxwplt:
/usr/openwin/lib/libXpm.so.4.11=./libXpm.so.4 s none SUNWxwplt

IMHO the proper fix would be to add libXpm.so.4.11 -> libXpm.so.4.11.0 to
CSWxpm.


Best regards

  -- Dago



More information about the bug-notifications mailing list