HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- why does dld.sl load libogltls.sl for a simple uti...
Operating System - Linux
1828774
Members
2933
Online
109985
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2006 01:26 PM
09-06-2006 01:26 PM
why does dld.sl load libogltls.sl for a simple utility like ls?
Using tusc I have noticed every application, and indeed every command leads to libogltls.sl being loaded. Here is a sample:
# /usr/local.orig/bin/tusc env | grep -i .sl
open("/usr/lib/dld.sl", O_RDONLY, 04424) ................. = 3
open("/opt/graphics/OpenGL/lib/libogltls.sl", O_RDONLY, 0) = 3
That doesn't seem right. Isn't libogltls.sl the thread local storage library for OpenGL? ls is not an OpenGL application. Why does libogltls.sl get loaded? It appears this is done by dld.sl as running nm or strings on dld.sl clearly shows a reference to libogltls.sl:
# strings dld.sl | grep OpenGL
/opt/graphics/OpenGL/lib/libogltls.sl
Does dld.sl really need to load libogltls.sl for every command and application? Doesn't this slow things down a bit and create undue dependence? What if OpenGL is not installed?
Thanks.
H Taghavi
# /usr/local.orig/bin/tusc env | grep -i .sl
open("/usr/lib/dld.sl", O_RDONLY, 04424) ................. = 3
open("/opt/graphics/OpenGL/lib/libogltls.sl", O_RDONLY, 0) = 3
That doesn't seem right. Isn't libogltls.sl the thread local storage library for OpenGL? ls is not an OpenGL application. Why does libogltls.sl get loaded? It appears this is done by dld.sl as running nm or strings on dld.sl clearly shows a reference to libogltls.sl:
# strings dld.sl | grep OpenGL
/opt/graphics/OpenGL/lib/libogltls.sl
Does dld.sl really need to load libogltls.sl for every command and application? Doesn't this slow things down a bit and create undue dependence? What if OpenGL is not installed?
Thanks.
H Taghavi
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2006 02:45 PM
09-06-2006 02:45 PM
Re: why does dld.sl load libogltls.sl for a simple utility like ls?
As you guessed, this is for OpenGL. This was the best compromize in setting up TLS for libs that were dynamically loaded, before dynamic TLS was implemented.
It only slows it down for one open that checks when OpenGL isn't installed.
They have removed it in the latest patches for IPF, I'm not sure about PA.
It only slows it down for one open that checks when OpenGL isn't installed.
They have removed it in the latest patches for IPF, I'm not sure about PA.
- Tags:
- TLS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2006 04:22 PM
09-22-2006 04:22 PM
Re: why does dld.sl load libogltls.sl for a simple utility like ls?
please set _HP_DLDOPTS to include "-noogltls" in the environment. if you will not be using any opengl programs, you could set it in the users' shell startup scripts.
if you are not using any hpux 9x programs, you can also include "-no_9X_compat" for faster shared library loading (dld wont look for libx.0 when you want to load libx.sl).
_HP_DLDOPT="-noogltls -no_9X_compat"
--
ranga
[i work for hpe]
if you are not using any hpux 9x programs, you can also include "-no_9X_compat" for faster shared library loading (dld wont look for libx.0 when you want to load libx.sl).
_HP_DLDOPT="-noogltls -no_9X_compat"
--
ranga
- Tags:
- _HP_DLDOPT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2006 04:22 PM
09-22-2006 04:22 PM
Re: why does dld.sl load libogltls.sl for a simple utility like ls?
please set _HP_DLDOPTS to include "-noogltls" in the environment. if you will not be using any opengl programs, you could set it in the users' shell startup scripts.
if you are not using any hpux 9x programs, you can also include "-no_9X_compat" for faster shared library loading (dld wont look for libx.0 when you want to load libx.sl).
_HP_DLDOPTS="-noogltls -no_9X_compat"
--
ranga
[i work for hpe]
if you are not using any hpux 9x programs, you can also include "-no_9X_compat" for faster shared library loading (dld wont look for libx.0 when you want to load libx.sl).
_HP_DLDOPTS="-noogltls -no_9X_compat"
--
ranga
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP