Mantis - berkeleydb44
Viewing Issue Advanced Details
3782 packaging major always 2009-07-28 11:46 2009-07-29 09:30
andrewnicols  
dam  
normal  
closed  
fixed  
none    
none  
0003782: Possible repeat of bug 1636 in 'current' version (4.4.20,REV=2009.06.26)
I've just installed the latest version of berkelydb44 using pkgutil. Since
then, I cannot use perl. Perl complains of a fatal error linking against
libdb-4.4.so

Looks like this is a repeat of bug 1636
(http://www.opencsw.org/bugtrack/view.php?id=1636). [^] Setting the
LD_LIBRARY_PATH before I call perl seems to fix things for that session:

660 root@desktop01:~> perl
ld.so.1: perl: fatal: libdb-4.4.so: open failed: No such file or directory
Killed
661 root@desktop01:~> LD_LIBRARY_PATH='/opt/csw/bdb4/lib' perl
^C
662 root@desktop01:~> perl
ld.so.1: perl: fatal: libdb-4.4.so: open failed: No such file or directory
Killed
663 root@desktop01:~> export LD_LIBRARY_PATH='/opt/csw/bdb4/lib'
664 root@desktop01:~> perl
^C
665 root@desktop01:~> unset LD_LIBRARY_PATH
666 root@desktop01:~> perl
ld.so.1: perl: fatal: libdb-4.4.so: open failed: No such file or directory
Killed

An alternative workaround is to link /opt/csw/bdb4/lib/libdb-4.4.so to /opt/csw/lib/ as demonstrated below:
673 root@desktop01:~> perl
ld.so.1: perl: fatal: libdb-4.4.so: open failed: No such file or directory
Killed
674 root@desktop01:~> ln -s /opt/csw/bdb4/lib/libdb-4.4.so /opt/csw/lib/
675 root@desktop01:~> perl
^C
676 root@desktop01:~>


This is repeatable on all of my Solaris systems (Sparc and X86) running
Solaris 10 u6 and various version of Nevada Open Solaris.
Issue History
2009-07-28 11:46 andrewnicols New Issue
2009-07-28 13:01 smwardle Issue Monitored: smwardle
2009-07-28 13:26 james Note Added: 0006479
2009-07-28 13:26 james Note Edited: 0006479
2009-07-28 13:35 james Issue Monitored: james
2009-07-28 13:42 andrewnicols Note Added: 0006480
2009-07-29 09:29 dam Status new => assigned
2009-07-29 09:29 dam Assigned To => dam
2009-07-29 09:30 dam Note Added: 0006482
2009-07-29 09:30 dam Status assigned => closed
2009-07-29 09:30 dam Resolution open => fixed

Notes
(0006479)
james   
2009-07-28 13:26   
Hello, this has been fixed in the upstream packages, please wait and update or temporarily do an update from one of the up to date servers:

pkg-get -s http://csw.informatik.uni-erlangen.de/csw/current [^] ...

(0006480)
andrewnicols   
2009-07-28 13:42   
Thanks James,

This seems to be fixed whilst yesterdays package appears to have been broken.

Andrew
(0006482)
dam   
2009-07-29 09:30   
This has been fixed in 4.4.20,REV=2009.07.28