- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Samba binaries give wrong dynamic library path
Operating System - HP-UX
1752793
Members
6123
Online
108789
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
Discussions
Discussions
Forums
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
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
тАО12-15-2010 10:15 AM
тАО12-15-2010 10:15 AM
Samba binaries give wrong dynamic library path
We had an urgent need to build the latest Samba for HP-UX. I managed to get the source compiled, but when I did I found that the binaries weren't able to locate a library (libwbclient.sl.0) it had properly installed under /opt/samba/lib. However, the binaries did run properly when I executed the commands from the build tree (in source3). I ran chatr on the binaries and it showed the following entry under the shared library list:
dynamic ./bin/libwbclient.sl.0
which explains why it ran successfully from the build tree. I don't see anything in the configure options that would explain why it ended up this way. (For example: I included '--libdir=/opt/samba/lib' during the configuration, and have '--prefix=/opt/samba'.)
Does anybody know if I can change the above chatr entry with the chatr command so that the binaries will dynamically link to the correct library at run time?
Thank you.
dynamic ./bin/libwbclient.sl.0
which explains why it ran successfully from the build tree. I don't see anything in the configure options that would explain why it ended up this way. (For example: I included '--libdir=/opt/samba/lib' during the configuration, and have '--prefix=/opt/samba'.)
Does anybody know if I can change the above chatr entry with the chatr command so that the binaries will dynamically link to the correct library at run time?
Thank you.
- Tags:
- embedded path
- samba
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2010 01:23 PM
тАО12-15-2010 01:23 PM
Re: Samba binaries give wrong dynamic library path
>if I can change the above chatr entry with the chatr command
No, chatr(1) doesn't make changes like that, typically there is no extra space.
You need to relink it properly. The first step is to see what was on the link line.
No, chatr(1) doesn't make changes like that, typically there is no extra space.
You need to relink it properly. The first step is to see what was on the link line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2010 02:14 PM
тАО12-15-2010 02:14 PM
Re: Samba binaries give wrong dynamic library path
Okay I'll give that a try. Thank you.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP