This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rygorde4
Recipients rygorde4
Date 2014-02-17.20:25:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392668740.39.0.330236898998.issue20664@psf.upfronthosting.co.za>
In-reply-to
Content
On SunOS 5.11, both the _findLib_crle and _get_soname are broken.

With _findLib_crle, the function returns the following:

# env LC_ALL=C /usr/bin/crle -64

Default configuration file (/var/ld/64/ld.config) not found
  Platform:     64-bit LSB AMD64
  Default Library Path (ELF):   /lib/64:/usr/lib/64  (system default)
  Trusted Directories (ELF):    /lib/secure/64:/usr/lib/secure/64  (system default)

# env LC_ALL=C /usr/bin/crle

Configuration file [version 4]: /var/ld/ld.config  
  Platform:     32-bit LSB 80386
  Default Library Path (ELF):   /lib:/usr/lib
  Trusted Directories (ELF):    /lib/secure:/usr/lib/secure  (system default)

Command line:
  crle -c /var/ld/ld.config -l /lib:/usr/lib

The "Default Library Path (ELF):   /lib:/usr/lib" is extracted to "/lib:/usr/lib" and only those two paths are checked for the library in question. Unfortunately this means that there is absolutely no way to configure any environment variable to check on other paths and both /lib and /usr/lib are read-only directories mounted from the global zone:

[ /usr/lib] # touch test.txt
touch: cannot touch `test': Read-only file system
[ /lib] # touch test.txt
touch: cannot touch `test': Read-only file system

An environment variable should be read in that can be configured to override this functionality.

The second issue with _get_soname is that is calls /usr/ccs/bin/dump which doesn't exist at all: (/usr/ccs/bin/ is an old deprecated directory which has since been removed)

# ll /usr/ccs/bin/dump
ls: cannot access /usr/ccs/bin/dump: No such file or directory
History
Date User Action Args
2014-02-17 20:25:40rygorde4setrecipients: + rygorde4
2014-02-17 20:25:40rygorde4setmessageid: <1392668740.39.0.330236898998.issue20664@psf.upfronthosting.co.za>
2014-02-17 20:25:40rygorde4linkissue20664 messages
2014-02-17 20:25:39rygorde4create