HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /usr/lib/dld.sl: Can't find path for shared li...
Operating System - HP-UX
1837338
Members
3470
Online
110116
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
01-17-2007 06:30 AM
01-17-2007 06:30 AM
/usr/lib/dld.sl: Can't find path for shared library: libgcc_s.sl
Hi,
I have the following code:
#include
using namespace std;
int main() {
cout << "Hello CXX!!!" << endl;
}
1) the above code is compiled on server A and works fine on that server
2) if I try to run the binary on server B I get the error "/usr/lib/dld.sl: Can't find path for shared library: libgcc_s.sl"
Now how can I compile the above code so that works on both servers!!
Any Ideas please!!
Regards
Simon
I have the following code:
#include
using namespace std;
int main() {
cout << "Hello CXX!!!" << endl;
}
1) the above code is compiled on server A and works fine on that server
2) if I try to run the binary on server B I get the error "/usr/lib/dld.sl: Can't find path for shared library: libgcc_s.sl"
Now how can I compile the above code so that works on both servers!!
Any Ideas please!!
Regards
Simon
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 06:40 AM
01-17-2007 06:40 AM
Re: /usr/lib/dld.sl: Can't find path for shared library: libgcc_s.sl
Hi Simon:
Do you have 'libgcc_s.sl' on server-B?
If so, does SHLIB_PATH contain the directory in which the library resides?
Regards!
...JRF...
Do you have 'libgcc_s.sl' on server-B?
If so, does SHLIB_PATH contain the directory in which the library resides?
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 02:34 PM
01-17-2007 02:34 PM
Re: /usr/lib/dld.sl: Can't find path for shared library: libgcc_s.sl
>JRF: Do you have 'libgcc_s.sl' on server-B?
This is the correct way to do it. Trying to make your application all archive so you don't have to ship shared libs is not so good.
Of course if you used aC++, the needed libs would already be there. (At least for -AA, you could get a patch for 11.11.)
This is the correct way to do it. Trying to make your application all archive so you don't have to ship shared libs is not so good.
Of course if you used aC++, the needed libs would already be there. (At least for -AA, you could get a patch for 11.11.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-17-2007 08:28 PM
01-17-2007 08:28 PM
Re: /usr/lib/dld.sl: Can't find path for shared library: libgcc_s.sl
HI,
have you done a find for this library on both servers?
Do you have the same lib-patch on both?
And last: check /etc/SHLIB_PATH on both.
HTH
Volkmar
have you done a find for this library on both servers?
Do you have the same lib-patch on both?
And last: check /etc/SHLIB_PATH on both.
HTH
Volkmar
*** Say 'Thanks' with Kudos ***
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